Struct aws_sdk_imagebuilder::client::fluent_builders::CreateInfrastructureConfiguration [−][src]
pub struct CreateInfrastructureConfiguration<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateInfrastructureConfiguration
.
Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
Implementations
impl<C, M, R> CreateInfrastructureConfiguration<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateInfrastructureConfiguration<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateInfrastructureConfigurationOutput, SdkError<CreateInfrastructureConfigurationError>> where
R::Policy: SmithyRetryPolicy<CreateInfrastructureConfigurationInputOperationOutputAlias, CreateInfrastructureConfigurationOutput, CreateInfrastructureConfigurationError, CreateInfrastructureConfigurationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateInfrastructureConfigurationOutput, SdkError<CreateInfrastructureConfigurationError>> where
R::Policy: SmithyRetryPolicy<CreateInfrastructureConfigurationInputOperationOutputAlias, CreateInfrastructureConfigurationOutput, CreateInfrastructureConfigurationError, CreateInfrastructureConfigurationInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the infrastructure configuration.
The name of the infrastructure configuration.
The description of the infrastructure configuration.
The description of the infrastructure configuration.
Appends an item to instanceTypes
.
To override the contents of this collection use set_instance_types
.
The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.
The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.
The instance profile to associate with the instance used to customize your Amazon EC2 AMI.
The instance profile to associate with the instance used to customize your Amazon EC2 AMI.
Appends an item to securityGroupIds
.
To override the contents of this collection use set_security_group_ids
.
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
The subnet ID in which to place the instance used to customize your Amazon EC2 AMI.
The subnet ID in which to place the instance used to customize your Amazon EC2 AMI.
The logging configuration of the infrastructure configuration.
The logging configuration of the infrastructure configuration.
The key pair of the infrastructure configuration. You can use this to log on to and debug the instance used to create your image.
The key pair of the infrastructure configuration. You can use this to log on to and debug the instance used to create your image.
The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.
The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.
The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.
The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.
Adds a key-value pair to resourceTags
.
To override the contents of this collection use set_resource_tags
.
The tags attached to the resource created by Image Builder.
The tags attached to the resource created by Image Builder.
The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2 build and test instances.
The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2 build and test instances.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags of the infrastructure configuration.
The tags of the infrastructure configuration.
The idempotency token used to make this request idempotent.
The idempotency token used to make this request idempotent.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateInfrastructureConfiguration<C, M, R>
impl<C, M, R> Send for CreateInfrastructureConfiguration<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateInfrastructureConfiguration<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateInfrastructureConfiguration<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateInfrastructureConfiguration<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more