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,
                                placement: Optional[InfrastructureConfigurationPlacementArgs] = 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The InfrastructureConfiguration resource accepts the following input properties:
- InstanceProfile stringName 
- The instance profile of the infrastructure configuration.
- Description string
- The description of the infrastructure configuration.
- InstanceMetadata Pulumi.Options Aws Native. Image Builder. Inputs. Infrastructure Configuration Instance Metadata Options 
- The instance metadata option settings for the infrastructure configuration.
- InstanceTypes List<string>
- The instance types of the infrastructure configuration.
- KeyPair 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.
- Placement
Pulumi.Aws Native. Image Builder. Inputs. Infrastructure Configuration Placement 
- The placement option settings for the infrastructure configuration.
- Dictionary<string, string>
- The tags attached to the resource created by Image Builder.
- SecurityGroup List<string>Ids 
- The security group IDs of the infrastructure configuration.
- SnsTopic stringArn 
- The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
- SubnetId string
- The subnet ID of the infrastructure configuration.
- Dictionary<string, string>
- The tags associated with the component.
- TerminateInstance boolOn Failure 
- The terminate instance on failure configuration of the infrastructure configuration.
- InstanceProfile stringName 
- The instance profile of the infrastructure configuration.
- Description string
- The description of the infrastructure configuration.
- InstanceMetadata InfrastructureOptions Configuration Instance Metadata Options Args 
- The instance metadata option settings for the infrastructure configuration.
- InstanceTypes []string
- The instance types of the infrastructure configuration.
- KeyPair string
- The EC2 key pair of the infrastructure configuration..
- Logging
InfrastructureConfiguration Logging Args 
- The logging configuration of the infrastructure configuration.
- Name string
- The name of the infrastructure configuration.
- Placement
InfrastructureConfiguration Placement Args 
- The placement option settings for the infrastructure configuration.
- map[string]string
- The tags attached to the resource created by Image Builder.
- SecurityGroup []stringIds 
- The security group IDs of the infrastructure configuration.
- SnsTopic stringArn 
- The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
- SubnetId string
- The subnet ID of the infrastructure configuration.
- map[string]string
- The tags associated with the component.
- TerminateInstance boolOn Failure 
- The terminate instance on failure configuration of the infrastructure configuration.
- instanceProfile StringName 
- The instance profile of the infrastructure configuration.
- description String
- The description of the infrastructure configuration.
- instanceMetadata InfrastructureOptions Configuration Instance Metadata Options 
- The instance metadata option settings for the infrastructure configuration.
- instanceTypes List<String>
- The instance types of the infrastructure configuration.
- keyPair String
- The EC2 key pair of the infrastructure configuration..
- logging
InfrastructureConfiguration Logging 
- The logging configuration of the infrastructure configuration.
- name String
- The name of the infrastructure configuration.
- placement
InfrastructureConfiguration Placement 
- The placement option settings for the infrastructure configuration.
- Map<String,String>
- The tags attached to the resource created by Image Builder.
- securityGroup List<String>Ids 
- The security group IDs of the infrastructure configuration.
- snsTopic StringArn 
- The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
- subnetId String
- The subnet ID of the infrastructure configuration.
- Map<String,String>
- The tags associated with the component.
- terminateInstance BooleanOn Failure 
- The terminate instance on failure configuration of the infrastructure configuration.
- instanceProfile stringName 
- The instance profile of the infrastructure configuration.
- description string
- The description of the infrastructure configuration.
- instanceMetadata InfrastructureOptions Configuration Instance Metadata Options 
- The instance metadata option settings for the infrastructure configuration.
- instanceTypes string[]
- The instance types of the infrastructure configuration.
- keyPair string
- The EC2 key pair of the infrastructure configuration..
- logging
InfrastructureConfiguration Logging 
- The logging configuration of the infrastructure configuration.
- name string
- The name of the infrastructure configuration.
- placement
InfrastructureConfiguration Placement 
- The placement option settings for the infrastructure configuration.
- {[key: string]: string}
- The tags attached to the resource created by Image Builder.
- securityGroup string[]Ids 
- The security group IDs of the infrastructure configuration.
- snsTopic stringArn 
- The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
- subnetId string
- The subnet ID of the infrastructure configuration.
- {[key: string]: string}
- The tags associated with the component.
- terminateInstance 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
InfrastructureConfiguration Logging Args 
- The logging configuration of the infrastructure configuration.
- name str
- The name of the infrastructure configuration.
- placement
InfrastructureConfiguration Placement Args 
- The placement option settings for 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.
- instanceProfile StringName 
- The instance profile of the infrastructure configuration.
- description String
- The description of the infrastructure configuration.
- instanceMetadata Property MapOptions 
- The instance metadata option settings for the infrastructure configuration.
- instanceTypes List<String>
- The instance types of the infrastructure configuration.
- keyPair 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.
- placement Property Map
- The placement option settings for the infrastructure configuration.
- Map<String>
- The tags attached to the resource created by Image Builder.
- securityGroup List<String>Ids 
- The security group IDs of the infrastructure configuration.
- snsTopic StringArn 
- The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
- subnetId String
- The subnet ID of the infrastructure configuration.
- Map<String>
- The tags associated with the component.
- terminateInstance 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          
- HttpPut intResponse Hop Limit 
- Limit the number of hops that an instance metadata request can traverse to reach its destination.
- HttpTokens 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:
- HttpPut intResponse Hop Limit 
- Limit the number of hops that an instance metadata request can traverse to reach its destination.
- HttpTokens 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:
- httpPut IntegerResponse Hop Limit 
- Limit the number of hops that an instance metadata request can traverse to reach its destination.
- httpTokens 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:
- httpPut numberResponse Hop Limit 
- Limit the number of hops that an instance metadata request can traverse to reach its destination.
- httpTokens 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:
- httpPut NumberResponse Hop Limit 
- Limit the number of hops that an instance metadata request can traverse to reach its destination.
- httpTokens "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
- InfrastructureConfiguration Instance Metadata Options Http Tokens Required 
- required
- InfrastructureConfiguration 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
InfrastructureConfiguration S3Logs 
- The Amazon S3 logging configuration.
- s3Logs
InfrastructureConfiguration S3Logs 
- The Amazon S3 logging configuration.
- s3Logs
InfrastructureConfiguration S3Logs 
- The Amazon S3 logging configuration.
- s3_logs InfrastructureConfiguration S3Logs 
- The Amazon S3 logging configuration.
- s3Logs Property Map
- The Amazon S3 logging configuration.
InfrastructureConfigurationPlacement, InfrastructureConfigurationPlacementArgs      
- AvailabilityZone string
- AvailabilityZone
- HostId string
- HostId
- HostResource stringGroup Arn 
- HostResourceGroupArn
- Tenancy
Pulumi.Aws Native. Image Builder. Infrastructure Configuration Placement Tenancy 
- Tenancy
- AvailabilityZone string
- AvailabilityZone
- HostId string
- HostId
- HostResource stringGroup Arn 
- HostResourceGroupArn
- Tenancy
InfrastructureConfiguration Placement Tenancy 
- Tenancy
- availabilityZone String
- AvailabilityZone
- hostId String
- HostId
- hostResource StringGroup Arn 
- HostResourceGroupArn
- tenancy
InfrastructureConfiguration Placement Tenancy 
- Tenancy
- availabilityZone string
- AvailabilityZone
- hostId string
- HostId
- hostResource stringGroup Arn 
- HostResourceGroupArn
- tenancy
InfrastructureConfiguration Placement Tenancy 
- Tenancy
- availability_zone str
- AvailabilityZone
- host_id str
- HostId
- host_resource_ strgroup_ arn 
- HostResourceGroupArn
- tenancy
InfrastructureConfiguration Placement Tenancy 
- Tenancy
- availabilityZone String
- AvailabilityZone
- hostId String
- HostId
- hostResource StringGroup Arn 
- HostResourceGroupArn
- tenancy "default" | "dedicated" | "host"
- Tenancy
InfrastructureConfigurationPlacementTenancy, InfrastructureConfigurationPlacementTenancyArgs        
- Default
- default
- Dedicated
- dedicated
- Host
- host
- InfrastructureConfiguration Placement Tenancy Default 
- default
- InfrastructureConfiguration Placement Tenancy Dedicated 
- dedicated
- InfrastructureConfiguration Placement Tenancy Host 
- host
- Default
- default
- Dedicated
- dedicated
- Host
- host
- Default
- default
- Dedicated
- dedicated
- Host
- host
- DEFAULT
- default
- DEDICATED
- dedicated
- HOST
- host
- "default"
- default
- "dedicated"
- dedicated
- "host"
- host
InfrastructureConfigurationS3Logs, InfrastructureConfigurationS3LogsArgs      
- S3BucketName string
- S3BucketName
- S3KeyPrefix string
- S3KeyPrefix
- S3BucketName string
- S3BucketName
- S3KeyPrefix string
- S3KeyPrefix
- s3BucketName String
- S3BucketName
- s3KeyPrefix String
- S3KeyPrefix
- s3BucketName string
- S3BucketName
- s3KeyPrefix string
- S3KeyPrefix
- s3_bucket_ strname 
- S3BucketName
- s3_key_ strprefix 
- S3KeyPrefix
- s3BucketName String
- S3BucketName
- s3KeyPrefix 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.