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:
- 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.
- 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.
- 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.
- Placement
Infrastructure
Configuration Placement Args - The placement option settings for 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.
- placement
Infrastructure
Configuration Placement - The placement option settings for 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.
- placement
Infrastructure
Configuration Placement - The placement option settings for 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.
- placement
Infrastructure
Configuration 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.
- 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.
- placement Property Map
- The placement option settings for 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.
InfrastructureConfigurationPlacement, InfrastructureConfigurationPlacementArgs
- Availability
Zone string - AvailabilityZone
- Host
Id string - HostId
- Host
Resource stringGroup Arn - HostResourceGroupArn
- Tenancy
Pulumi.
Aws Native. Image Builder. Infrastructure Configuration Placement Tenancy - Tenancy
- Availability
Zone string - AvailabilityZone
- Host
Id string - HostId
- Host
Resource stringGroup Arn - HostResourceGroupArn
- Tenancy
Infrastructure
Configuration Placement Tenancy - Tenancy
- availability
Zone String - AvailabilityZone
- host
Id String - HostId
- host
Resource StringGroup Arn - HostResourceGroupArn
- tenancy
Infrastructure
Configuration Placement Tenancy - Tenancy
- availability
Zone string - AvailabilityZone
- host
Id string - HostId
- host
Resource stringGroup Arn - HostResourceGroupArn
- tenancy
Infrastructure
Configuration Placement Tenancy - Tenancy
- availability_
zone str - AvailabilityZone
- host_
id str - HostId
- host_
resource_ strgroup_ arn - HostResourceGroupArn
- tenancy
Infrastructure
Configuration Placement Tenancy - Tenancy
- availability
Zone String - AvailabilityZone
- host
Id String - HostId
- host
Resource StringGroup Arn - HostResourceGroupArn
- tenancy "default" | "dedicated" | "host"
- Tenancy
InfrastructureConfigurationPlacementTenancy, InfrastructureConfigurationPlacementTenancyArgs
- Default
- default
- Dedicated
- dedicated
- Host
- host
- Infrastructure
Configuration Placement Tenancy Default - default
- Infrastructure
Configuration Placement Tenancy Dedicated - dedicated
- Infrastructure
Configuration 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
- 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.