Struct aws_sdk_securityhub::model::aws_auto_scaling_launch_configuration_details::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for AwsAutoScalingLaunchConfigurationDetails
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn associate_public_ip_address(self, input: bool) -> Self
pub fn associate_public_ip_address(self, input: bool) -> Self
For Auto Scaling groups that run in a VPC, specifies whether to assign a public IP address to the group's instances.
sourcepub fn set_associate_public_ip_address(self, input: Option<bool>) -> Self
pub fn set_associate_public_ip_address(self, input: Option<bool>) -> Self
For Auto Scaling groups that run in a VPC, specifies whether to assign a public IP address to the group's instances.
sourcepub fn block_device_mappings(
self,
input: AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
) -> Self
pub fn block_device_mappings(
self,
input: AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
) -> Self
Appends an item to block_device_mappings
.
To override the contents of this collection use set_block_device_mappings
.
Specifies the block devices for the instance.
sourcepub fn set_block_device_mappings(
self,
input: Option<Vec<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails>>
) -> Self
pub fn set_block_device_mappings(
self,
input: Option<Vec<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails>>
) -> Self
Specifies the block devices for the instance.
sourcepub fn classic_link_vpc_id(self, input: impl Into<String>) -> Self
pub fn classic_link_vpc_id(self, input: impl Into<String>) -> Self
The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are linked to.
sourcepub fn set_classic_link_vpc_id(self, input: Option<String>) -> Self
pub fn set_classic_link_vpc_id(self, input: Option<String>) -> Self
The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are linked to.
sourcepub fn classic_link_vpc_security_groups(self, input: impl Into<String>) -> Self
pub fn classic_link_vpc_security_groups(self, input: impl Into<String>) -> Self
Appends an item to classic_link_vpc_security_groups
.
To override the contents of this collection use set_classic_link_vpc_security_groups
.
The identifiers of one or more security groups for the VPC that is specified in ClassicLinkVPCId
.
sourcepub fn set_classic_link_vpc_security_groups(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_classic_link_vpc_security_groups(
self,
input: Option<Vec<String>>
) -> Self
The identifiers of one or more security groups for the VPC that is specified in ClassicLinkVPCId
.
sourcepub fn created_time(self, input: impl Into<String>) -> Self
pub fn created_time(self, input: impl Into<String>) -> Self
The creation date and time for the launch configuration.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn set_created_time(self, input: Option<String>) -> Self
pub fn set_created_time(self, input: Option<String>) -> Self
The creation date and time for the launch configuration.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn ebs_optimized(self, input: bool) -> Self
pub fn ebs_optimized(self, input: bool) -> Self
Whether the launch configuration is optimized for Amazon EBS I/O.
sourcepub fn set_ebs_optimized(self, input: Option<bool>) -> Self
pub fn set_ebs_optimized(self, input: Option<bool>) -> Self
Whether the launch configuration is optimized for Amazon EBS I/O.
sourcepub fn iam_instance_profile(self, input: impl Into<String>) -> Self
pub fn iam_instance_profile(self, input: impl Into<String>) -> Self
The name or the ARN of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role.
sourcepub fn set_iam_instance_profile(self, input: Option<String>) -> Self
pub fn set_iam_instance_profile(self, input: Option<String>) -> Self
The name or the ARN of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role.
sourcepub fn image_id(self, input: impl Into<String>) -> Self
pub fn image_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 instances.
sourcepub fn set_image_id(self, input: Option<String>) -> Self
pub fn set_image_id(self, input: Option<String>) -> Self
The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 instances.
sourcepub fn instance_monitoring(
self,
input: AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
) -> Self
pub fn instance_monitoring(
self,
input: AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
) -> Self
Indicates the type of monitoring for instances in the group.
sourcepub fn set_instance_monitoring(
self,
input: Option<AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails>
) -> Self
pub fn set_instance_monitoring(
self,
input: Option<AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails>
) -> Self
Indicates the type of monitoring for instances in the group.
sourcepub fn instance_type(self, input: impl Into<String>) -> Self
pub fn instance_type(self, input: impl Into<String>) -> Self
The instance type for the instances.
sourcepub fn set_instance_type(self, input: Option<String>) -> Self
pub fn set_instance_type(self, input: Option<String>) -> Self
The instance type for the instances.
sourcepub fn kernel_id(self, input: impl Into<String>) -> Self
pub fn kernel_id(self, input: impl Into<String>) -> Self
The identifier of the kernel associated with the AMI.
sourcepub fn set_kernel_id(self, input: Option<String>) -> Self
pub fn set_kernel_id(self, input: Option<String>) -> Self
The identifier of the kernel associated with the AMI.
sourcepub fn set_key_name(self, input: Option<String>) -> Self
pub fn set_key_name(self, input: Option<String>) -> Self
The name of the key pair.
sourcepub fn launch_configuration_name(self, input: impl Into<String>) -> Self
pub fn launch_configuration_name(self, input: impl Into<String>) -> Self
The name of the launch configuration.
sourcepub fn set_launch_configuration_name(self, input: Option<String>) -> Self
pub fn set_launch_configuration_name(self, input: Option<String>) -> Self
The name of the launch configuration.
sourcepub fn placement_tenancy(self, input: impl Into<String>) -> Self
pub fn placement_tenancy(self, input: impl Into<String>) -> Self
The tenancy of the instance. An instance with dedicated
tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.
sourcepub fn set_placement_tenancy(self, input: Option<String>) -> Self
pub fn set_placement_tenancy(self, input: Option<String>) -> Self
The tenancy of the instance. An instance with dedicated
tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.
sourcepub fn ramdisk_id(self, input: impl Into<String>) -> Self
pub fn ramdisk_id(self, input: impl Into<String>) -> Self
The identifier of the RAM disk associated with the AMI.
sourcepub fn set_ramdisk_id(self, input: Option<String>) -> Self
pub fn set_ramdisk_id(self, input: Option<String>) -> Self
The identifier of the RAM disk associated with the AMI.
sourcepub fn security_groups(self, input: impl Into<String>) -> Self
pub fn security_groups(self, input: impl Into<String>) -> Self
Appends an item to security_groups
.
To override the contents of this collection use set_security_groups
.
The security groups to assign to the instances in the Auto Scaling group.
sourcepub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
pub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
The security groups to assign to the instances in the Auto Scaling group.
sourcepub fn spot_price(self, input: impl Into<String>) -> Self
pub fn spot_price(self, input: impl Into<String>) -> Self
The maximum hourly price to be paid for any Spot Instance that is launched to fulfill the request.
sourcepub fn set_spot_price(self, input: Option<String>) -> Self
pub fn set_spot_price(self, input: Option<String>) -> Self
The maximum hourly price to be paid for any Spot Instance that is launched to fulfill the request.
sourcepub fn user_data(self, input: impl Into<String>) -> Self
pub fn user_data(self, input: impl Into<String>) -> Self
The user data to make available to the launched EC2 instances. Must be base64-encoded text.
sourcepub fn set_user_data(self, input: Option<String>) -> Self
pub fn set_user_data(self, input: Option<String>) -> Self
The user data to make available to the launched EC2 instances. Must be base64-encoded text.
sourcepub fn metadata_options(
self,
input: AwsAutoScalingLaunchConfigurationMetadataOptions
) -> Self
pub fn metadata_options(
self,
input: AwsAutoScalingLaunchConfigurationMetadataOptions
) -> Self
The metadata options for the instances.
sourcepub fn set_metadata_options(
self,
input: Option<AwsAutoScalingLaunchConfigurationMetadataOptions>
) -> Self
pub fn set_metadata_options(
self,
input: Option<AwsAutoScalingLaunchConfigurationMetadataOptions>
) -> Self
The metadata options for the instances.
sourcepub fn build(self) -> AwsAutoScalingLaunchConfigurationDetails
pub fn build(self) -> AwsAutoScalingLaunchConfigurationDetails
Consumes the builder and constructs a AwsAutoScalingLaunchConfigurationDetails
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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