Struct aws_sdk_imagebuilder::model::Distribution
source · [−]#[non_exhaustive]pub struct Distribution {
pub region: Option<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: Option<String>
The 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
sourceimpl 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) -> Option<&[String]>
pub fn license_configuration_arns(&self) -> Option<&[String]>
The License Manager Configuration to associate with the AMI in the specified Region.
sourcepub fn launch_template_configurations(
&self
) -> Option<&[LaunchTemplateConfiguration]>
pub fn launch_template_configurations(
&self
) -> Option<&[LaunchTemplateConfiguration]>
A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts.
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) -> Option<&[FastLaunchConfiguration]>
pub fn fast_launch_configurations(&self) -> Option<&[FastLaunchConfiguration]>
The Windows faster-launching configurations to use for AMI distribution.
sourceimpl Distribution
impl Distribution
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Distribution
Trait Implementations
sourceimpl Clone for Distribution
impl Clone for Distribution
sourcefn clone(&self) -> Distribution
fn clone(&self) -> Distribution
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Distribution
impl Debug for Distribution
sourceimpl PartialEq<Distribution> for Distribution
impl PartialEq<Distribution> for Distribution
sourcefn eq(&self, other: &Distribution) -> bool
fn eq(&self, other: &Distribution) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Distribution) -> bool
fn ne(&self, other: &Distribution) -> bool
This method tests for !=
.
impl StructuralPartialEq for Distribution
Auto Trait Implementations
impl RefUnwindSafe for Distribution
impl Send for Distribution
impl Sync for Distribution
impl Unpin for Distribution
impl UnwindSafe for Distribution
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more