#[non_exhaustive]pub struct AmiDistributionConfiguration {
pub name: Option<String>,
pub description: Option<String>,
pub target_account_ids: Option<Vec<String>>,
pub ami_tags: Option<HashMap<String, String>>,
pub kms_key_id: Option<String>,
pub launch_permission: Option<LaunchPermissionConfiguration>,
}
Expand description
Define and configure the output AMIs of the pipeline.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the output AMI.
description: Option<String>
The description of the AMI distribution configuration. Minimum and maximum length are in characters.
target_account_ids: Option<Vec<String>>
The ID of an account to which you want to distribute an image.
The tags to apply to AMIs distributed to this Region.
kms_key_id: Option<String>
The KMS key identifier used to encrypt the distributed image.
launch_permission: Option<LaunchPermissionConfiguration>
Launch permissions can be used to configure which Amazon Web Services accounts can use the AMI to launch instances.
Implementations§
source§impl AmiDistributionConfiguration
impl AmiDistributionConfiguration
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the AMI distribution configuration. Minimum and maximum length are in characters.
sourcepub fn target_account_ids(&self) -> &[String]
pub fn target_account_ids(&self) -> &[String]
The ID of an account to which you want to distribute an image.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .target_account_ids.is_none()
.
The tags to apply to AMIs distributed to this Region.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The KMS key identifier used to encrypt the distributed image.
sourcepub fn launch_permission(&self) -> Option<&LaunchPermissionConfiguration>
pub fn launch_permission(&self) -> Option<&LaunchPermissionConfiguration>
Launch permissions can be used to configure which Amazon Web Services accounts can use the AMI to launch instances.
source§impl AmiDistributionConfiguration
impl AmiDistributionConfiguration
sourcepub fn builder() -> AmiDistributionConfigurationBuilder
pub fn builder() -> AmiDistributionConfigurationBuilder
Creates a new builder-style object to manufacture AmiDistributionConfiguration
.
Trait Implementations§
source§impl Clone for AmiDistributionConfiguration
impl Clone for AmiDistributionConfiguration
source§fn clone(&self) -> AmiDistributionConfiguration
fn clone(&self) -> AmiDistributionConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AmiDistributionConfiguration
impl Debug for AmiDistributionConfiguration
source§impl PartialEq for AmiDistributionConfiguration
impl PartialEq for AmiDistributionConfiguration
source§fn eq(&self, other: &AmiDistributionConfiguration) -> bool
fn eq(&self, other: &AmiDistributionConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.