We recommend new projects start with resources from the AWS provider.
aws-native.imagebuilder.InfrastructureConfiguration
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for AWS::ImageBuilder::InfrastructureConfiguration
Create InfrastructureConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InfrastructureConfiguration(name: string, args: InfrastructureConfigurationArgs, opts?: CustomResourceOptions);
@overload
def InfrastructureConfiguration(resource_name: str,
args: InfrastructureConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InfrastructureConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_profile_name: Optional[str] = None,
name: Optional[str] = None,
instance_metadata_options: Optional[InfrastructureConfigurationInstanceMetadataOptionsArgs] = None,
instance_types: Optional[Sequence[str]] = None,
key_pair: Optional[str] = None,
logging: Optional[InfrastructureConfigurationLoggingArgs] = None,
description: Optional[str] = None,
resource_tags: Optional[Mapping[str, str]] = None,
security_group_ids: Optional[Sequence[str]] = None,
sns_topic_arn: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
terminate_instance_on_failure: Optional[bool] = None)
func NewInfrastructureConfiguration(ctx *Context, name string, args InfrastructureConfigurationArgs, opts ...ResourceOption) (*InfrastructureConfiguration, error)
public InfrastructureConfiguration(string name, InfrastructureConfigurationArgs args, CustomResourceOptions? opts = null)
public InfrastructureConfiguration(String name, InfrastructureConfigurationArgs args)
public InfrastructureConfiguration(String name, InfrastructureConfigurationArgs args, CustomResourceOptions options)
type: aws-native:imagebuilder:InfrastructureConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args InfrastructureConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args InfrastructureConfigurationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InfrastructureConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InfrastructureConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InfrastructureConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
InfrastructureConfiguration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The InfrastructureConfiguration resource accepts the following input properties:
- Instance
Profile stringName - The instance profile of the infrastructure configuration.
- Description string
- The description of the infrastructure configuration.
- Instance
Metadata Pulumi.Options Aws Native. Image Builder. Inputs. Infrastructure Configuration Instance Metadata Options - The instance metadata option settings for the infrastructure configuration.
- Instance
Types List<string> - The instance types of the infrastructure configuration.
- Key
Pair string - The EC2 key pair of the infrastructure configuration..
- Logging
Pulumi.
Aws Native. Image Builder. Inputs. Infrastructure Configuration Logging - The logging configuration of the infrastructure configuration.
- Name string
- The name of the infrastructure configuration.
- Dictionary<string, string>
- The tags attached to the resource created by Image Builder.
- Security
Group List<string>Ids - The security group IDs of the infrastructure configuration.
- Sns
Topic stringArn - The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
- Subnet
Id string - The subnet ID of the infrastructure configuration.
- Dictionary<string, string>
- The tags associated with the component.
- Terminate
Instance boolOn Failure - The terminate instance on failure configuration of the infrastructure configuration.
- Instance
Profile stringName - The instance profile of the infrastructure configuration.
- Description string
- The description of the infrastructure configuration.
- Instance
Metadata InfrastructureOptions Configuration Instance Metadata Options Args - The instance metadata option settings for the infrastructure configuration.
- Instance
Types []string - The instance types of the infrastructure configuration.
- Key
Pair string - The EC2 key pair of the infrastructure configuration..
- Logging
Infrastructure
Configuration Logging Args - The logging configuration of the infrastructure configuration.
- Name string
- The name of the infrastructure configuration.
- map[string]string
- The tags attached to the resource created by Image Builder.
- Security
Group []stringIds - The security group IDs of the infrastructure configuration.
- Sns
Topic stringArn - The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
- Subnet
Id string - The subnet ID of the infrastructure configuration.
- map[string]string
- The tags associated with the component.
- Terminate
Instance boolOn Failure - The terminate instance on failure configuration of the infrastructure configuration.
- instance
Profile StringName - The instance profile of the infrastructure configuration.
- description String
- The description of the infrastructure configuration.
- instance
Metadata InfrastructureOptions Configuration Instance Metadata Options - The instance metadata option settings for the infrastructure configuration.
- instance
Types List<String> - The instance types of the infrastructure configuration.
- key
Pair String - The EC2 key pair of the infrastructure configuration..
- logging
Infrastructure
Configuration Logging - The logging configuration of the infrastructure configuration.
- name String
- The name of the infrastructure configuration.
- Map<String,String>
- The tags attached to the resource created by Image Builder.
- security
Group List<String>Ids - The security group IDs of the infrastructure configuration.
- sns
Topic StringArn - The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
- subnet
Id String - The subnet ID of the infrastructure configuration.
- Map<String,String>
- The tags associated with the component.
- terminate
Instance BooleanOn Failure - The terminate instance on failure configuration of the infrastructure configuration.
- instance
Profile stringName - The instance profile of the infrastructure configuration.
- description string
- The description of the infrastructure configuration.
- instance
Metadata InfrastructureOptions Configuration Instance Metadata Options - The instance metadata option settings for the infrastructure configuration.
- instance
Types string[] - The instance types of the infrastructure configuration.
- key
Pair string - The EC2 key pair of the infrastructure configuration..
- logging
Infrastructure
Configuration Logging - The logging configuration of the infrastructure configuration.
- name string
- The name of the infrastructure configuration.
- {[key: string]: string}
- The tags attached to the resource created by Image Builder.
- security
Group string[]Ids - The security group IDs of the infrastructure configuration.
- sns
Topic stringArn - The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
- subnet
Id string - The subnet ID of the infrastructure configuration.
- {[key: string]: string}
- The tags associated with the component.
- terminate
Instance booleanOn Failure - The terminate instance on failure configuration of the infrastructure configuration.
- instance_
profile_ strname - The instance profile of the infrastructure configuration.
- description str
- The description of the infrastructure configuration.
- instance_
metadata_ Infrastructureoptions Configuration Instance Metadata Options Args - The instance metadata option settings for the infrastructure configuration.
- instance_
types Sequence[str] - The instance types of the infrastructure configuration.
- key_
pair str - The EC2 key pair of the infrastructure configuration..
- logging
Infrastructure
Configuration Logging Args - The logging configuration of the infrastructure configuration.
- name str
- The name of the infrastructure configuration.
- Mapping[str, str]
- The tags attached to the resource created by Image Builder.
- security_
group_ Sequence[str]ids - The security group IDs of the infrastructure configuration.
- sns_
topic_ strarn - The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
- subnet_
id str - The subnet ID of the infrastructure configuration.
- Mapping[str, str]
- The tags associated with the component.
- terminate_
instance_ boolon_ failure - The terminate instance on failure configuration of the infrastructure configuration.
- instance
Profile StringName - The instance profile of the infrastructure configuration.
- description String
- The description of the infrastructure configuration.
- instance
Metadata Property MapOptions - The instance metadata option settings for the infrastructure configuration.
- instance
Types List<String> - The instance types of the infrastructure configuration.
- key
Pair String - The EC2 key pair of the infrastructure configuration..
- logging Property Map
- The logging configuration of the infrastructure configuration.
- name String
- The name of the infrastructure configuration.
- Map<String>
- The tags attached to the resource created by Image Builder.
- security
Group List<String>Ids - The security group IDs of the infrastructure configuration.
- sns
Topic StringArn - The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
- subnet
Id String - The subnet ID of the infrastructure configuration.
- Map<String>
- The tags associated with the component.
- terminate
Instance BooleanOn Failure - The terminate instance on failure configuration of the infrastructure configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the InfrastructureConfiguration resource produces the following output properties:
Supporting Types
InfrastructureConfigurationInstanceMetadataOptions, InfrastructureConfigurationInstanceMetadataOptionsArgs
- Http
Put intResponse Hop Limit - Limit the number of hops that an instance metadata request can traverse to reach its destination.
- Http
Tokens Pulumi.Aws Native. Image Builder. Infrastructure Configuration Instance Metadata Options Http Tokens - Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
- Http
Put intResponse Hop Limit - Limit the number of hops that an instance metadata request can traverse to reach its destination.
- Http
Tokens InfrastructureConfiguration Instance Metadata Options Http Tokens - Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
- http
Put IntegerResponse Hop Limit - Limit the number of hops that an instance metadata request can traverse to reach its destination.
- http
Tokens InfrastructureConfiguration Instance Metadata Options Http Tokens - Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
- http
Put numberResponse Hop Limit - Limit the number of hops that an instance metadata request can traverse to reach its destination.
- http
Tokens InfrastructureConfiguration Instance Metadata Options Http Tokens - Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
- http_
put_ intresponse_ hop_ limit - Limit the number of hops that an instance metadata request can traverse to reach its destination.
- http_
tokens InfrastructureConfiguration Instance Metadata Options Http Tokens - Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
- http
Put NumberResponse Hop Limit - Limit the number of hops that an instance metadata request can traverse to reach its destination.
- http
Tokens "required" | "optional" - Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
InfrastructureConfigurationInstanceMetadataOptionsHttpTokens, InfrastructureConfigurationInstanceMetadataOptionsHttpTokensArgs
- Required
- required
- Optional
- optional
- Infrastructure
Configuration Instance Metadata Options Http Tokens Required - required
- Infrastructure
Configuration Instance Metadata Options Http Tokens Optional - optional
- Required
- required
- Optional
- optional
- Required
- required
- Optional
- optional
- REQUIRED
- required
- OPTIONAL
- optional
- "required"
- required
- "optional"
- optional
InfrastructureConfigurationLogging, InfrastructureConfigurationLoggingArgs
- S3Logs
Pulumi.
Aws Native. Image Builder. Inputs. Infrastructure Configuration S3Logs - The Amazon S3 logging configuration.
- S3Logs
Infrastructure
Configuration S3Logs - The Amazon S3 logging configuration.
- s3Logs
Infrastructure
Configuration S3Logs - The Amazon S3 logging configuration.
- s3Logs
Infrastructure
Configuration S3Logs - The Amazon S3 logging configuration.
- s3_
logs InfrastructureConfiguration S3Logs - The Amazon S3 logging configuration.
- s3Logs Property Map
- The Amazon S3 logging configuration.
InfrastructureConfigurationS3Logs, InfrastructureConfigurationS3LogsArgs
- S3Bucket
Name string - S3BucketName
- S3Key
Prefix string - S3KeyPrefix
- S3Bucket
Name string - S3BucketName
- S3Key
Prefix string - S3KeyPrefix
- s3Bucket
Name String - S3BucketName
- s3Key
Prefix String - S3KeyPrefix
- s3Bucket
Name string - S3BucketName
- s3Key
Prefix string - S3KeyPrefix
- s3_
bucket_ strname - S3BucketName
- s3_
key_ strprefix - S3KeyPrefix
- s3Bucket
Name String - S3BucketName
- s3Key
Prefix String - S3KeyPrefix
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.