Struct aws_sdk_imagebuilder::types::Distribution
source · #[non_exhaustive]pub struct Distribution {
pub region: String,
pub ami_distribution_configuration: Option<AmiDistributionConfiguration>,
pub container_distribution_configuration: Option<ContainerDistributionConfiguration>,
pub license_configuration_arns: Option<Vec<String>>,
pub launch_template_configurations: Option<Vec<LaunchTemplateConfiguration>>,
pub s3_export_configuration: Option<S3ExportConfiguration>,
pub fast_launch_configurations: Option<Vec<FastLaunchConfiguration>>,
}Expand description
Defines the settings for a specific Region.
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.region: StringThe target Region.
ami_distribution_configuration: Option<AmiDistributionConfiguration>The specific AMI settings; for example, launch permissions or AMI tags.
container_distribution_configuration: Option<ContainerDistributionConfiguration>Container distribution settings for encryption, licensing, and sharing in a specific Region.
license_configuration_arns: Option<Vec<String>>The License Manager Configuration to associate with the AMI in the specified Region.
launch_template_configurations: Option<Vec<LaunchTemplateConfiguration>>A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts.
s3_export_configuration: Option<S3ExportConfiguration>Configure export settings to deliver disk images created from your image build, using a file format that is compatible with your VMs in that Region.
fast_launch_configurations: Option<Vec<FastLaunchConfiguration>>The Windows faster-launching configurations to use for AMI distribution.
Implementations§
source§impl Distribution
impl Distribution
sourcepub fn ami_distribution_configuration(
&self,
) -> Option<&AmiDistributionConfiguration>
pub fn ami_distribution_configuration( &self, ) -> Option<&AmiDistributionConfiguration>
The specific AMI settings; for example, launch permissions or AMI tags.
sourcepub fn container_distribution_configuration(
&self,
) -> Option<&ContainerDistributionConfiguration>
pub fn container_distribution_configuration( &self, ) -> Option<&ContainerDistributionConfiguration>
Container distribution settings for encryption, licensing, and sharing in a specific Region.
sourcepub fn license_configuration_arns(&self) -> &[String]
pub fn license_configuration_arns(&self) -> &[String]
The License Manager Configuration to associate with the AMI in the specified Region.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .license_configuration_arns.is_none().
sourcepub fn launch_template_configurations(&self) -> &[LaunchTemplateConfiguration]
pub fn launch_template_configurations(&self) -> &[LaunchTemplateConfiguration]
A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .launch_template_configurations.is_none().
sourcepub fn s3_export_configuration(&self) -> Option<&S3ExportConfiguration>
pub fn s3_export_configuration(&self) -> Option<&S3ExportConfiguration>
Configure export settings to deliver disk images created from your image build, using a file format that is compatible with your VMs in that Region.
sourcepub fn fast_launch_configurations(&self) -> &[FastLaunchConfiguration]
pub fn fast_launch_configurations(&self) -> &[FastLaunchConfiguration]
The Windows faster-launching configurations to use for AMI distribution.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .fast_launch_configurations.is_none().
source§impl Distribution
impl Distribution
sourcepub fn builder() -> DistributionBuilder
pub fn builder() -> DistributionBuilder
Creates a new builder-style object to manufacture Distribution.
Trait Implementations§
source§impl Clone for Distribution
impl Clone for Distribution
source§fn clone(&self) -> Distribution
fn clone(&self) -> Distribution
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Distribution
impl Debug for Distribution
source§impl PartialEq for Distribution
impl PartialEq for Distribution
source§fn eq(&self, other: &Distribution) -> bool
fn eq(&self, other: &Distribution) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for Distribution
Auto Trait Implementations§
impl Freeze for Distribution
impl RefUnwindSafe for Distribution
impl Send for Distribution
impl Sync for Distribution
impl Unpin for Distribution
impl UnwindSafe for Distribution
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more