1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. imagebuilder
  5. getInfrastructureConfiguration

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.imagebuilder.getInfrastructureConfiguration

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Resource schema for AWS::ImageBuilder::InfrastructureConfiguration

    Using getInfrastructureConfiguration

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getInfrastructureConfiguration(args: GetInfrastructureConfigurationArgs, opts?: InvokeOptions): Promise<GetInfrastructureConfigurationResult>
    function getInfrastructureConfigurationOutput(args: GetInfrastructureConfigurationOutputArgs, opts?: InvokeOptions): Output<GetInfrastructureConfigurationResult>
    def get_infrastructure_configuration(arn: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetInfrastructureConfigurationResult
    def get_infrastructure_configuration_output(arn: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetInfrastructureConfigurationResult]
    func LookupInfrastructureConfiguration(ctx *Context, args *LookupInfrastructureConfigurationArgs, opts ...InvokeOption) (*LookupInfrastructureConfigurationResult, error)
    func LookupInfrastructureConfigurationOutput(ctx *Context, args *LookupInfrastructureConfigurationOutputArgs, opts ...InvokeOption) LookupInfrastructureConfigurationResultOutput

    > Note: This function is named LookupInfrastructureConfiguration in the Go SDK.

    public static class GetInfrastructureConfiguration 
    {
        public static Task<GetInfrastructureConfigurationResult> InvokeAsync(GetInfrastructureConfigurationArgs args, InvokeOptions? opts = null)
        public static Output<GetInfrastructureConfigurationResult> Invoke(GetInfrastructureConfigurationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInfrastructureConfigurationResult> getInfrastructureConfiguration(GetInfrastructureConfigurationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:imagebuilder:getInfrastructureConfiguration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    Arn string
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    arn String
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    arn string
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    arn str
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    arn String
    The Amazon Resource Name (ARN) of the infrastructure configuration.

    getInfrastructureConfiguration Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    Description string
    The description of the infrastructure configuration.
    InstanceMetadataOptions Pulumi.AwsNative.ImageBuilder.Outputs.InfrastructureConfigurationInstanceMetadataOptions
    The instance metadata option settings for the infrastructure configuration.
    InstanceProfileName string
    The instance profile of 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.AwsNative.ImageBuilder.Outputs.InfrastructureConfigurationLogging
    The logging configuration of the infrastructure configuration.
    Placement Pulumi.AwsNative.ImageBuilder.Outputs.InfrastructureConfigurationPlacement
    The placement option settings for the infrastructure configuration.
    ResourceTags Dictionary<string, string>
    The tags attached to the resource created by Image Builder.
    SecurityGroupIds List<string>
    The security group IDs of the infrastructure configuration.
    SnsTopicArn string
    The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
    SubnetId string
    The subnet ID of the infrastructure configuration.
    Tags Dictionary<string, string>
    The tags associated with the component.
    TerminateInstanceOnFailure bool
    The terminate instance on failure configuration of the infrastructure configuration.
    Arn string
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    Description string
    The description of the infrastructure configuration.
    InstanceMetadataOptions InfrastructureConfigurationInstanceMetadataOptions
    The instance metadata option settings for the infrastructure configuration.
    InstanceProfileName string
    The instance profile of the infrastructure configuration.
    InstanceTypes []string
    The instance types of the infrastructure configuration.
    KeyPair string
    The EC2 key pair of the infrastructure configuration..
    Logging InfrastructureConfigurationLogging
    The logging configuration of the infrastructure configuration.
    Placement InfrastructureConfigurationPlacement
    The placement option settings for the infrastructure configuration.
    ResourceTags map[string]string
    The tags attached to the resource created by Image Builder.
    SecurityGroupIds []string
    The security group IDs of the infrastructure configuration.
    SnsTopicArn string
    The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
    SubnetId string
    The subnet ID of the infrastructure configuration.
    Tags map[string]string
    The tags associated with the component.
    TerminateInstanceOnFailure bool
    The terminate instance on failure configuration of the infrastructure configuration.
    arn String
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    description String
    The description of the infrastructure configuration.
    instanceMetadataOptions InfrastructureConfigurationInstanceMetadataOptions
    The instance metadata option settings for the infrastructure configuration.
    instanceProfileName String
    The instance profile of the infrastructure configuration.
    instanceTypes List<String>
    The instance types of the infrastructure configuration.
    keyPair String
    The EC2 key pair of the infrastructure configuration..
    logging InfrastructureConfigurationLogging
    The logging configuration of the infrastructure configuration.
    placement InfrastructureConfigurationPlacement
    The placement option settings for the infrastructure configuration.
    resourceTags Map<String,String>
    The tags attached to the resource created by Image Builder.
    securityGroupIds List<String>
    The security group IDs of the infrastructure configuration.
    snsTopicArn String
    The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
    subnetId String
    The subnet ID of the infrastructure configuration.
    tags Map<String,String>
    The tags associated with the component.
    terminateInstanceOnFailure Boolean
    The terminate instance on failure configuration of the infrastructure configuration.
    arn string
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    description string
    The description of the infrastructure configuration.
    instanceMetadataOptions InfrastructureConfigurationInstanceMetadataOptions
    The instance metadata option settings for the infrastructure configuration.
    instanceProfileName string
    The instance profile of the infrastructure configuration.
    instanceTypes string[]
    The instance types of the infrastructure configuration.
    keyPair string
    The EC2 key pair of the infrastructure configuration..
    logging InfrastructureConfigurationLogging
    The logging configuration of the infrastructure configuration.
    placement InfrastructureConfigurationPlacement
    The placement option settings for the infrastructure configuration.
    resourceTags {[key: string]: string}
    The tags attached to the resource created by Image Builder.
    securityGroupIds string[]
    The security group IDs of the infrastructure configuration.
    snsTopicArn string
    The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
    subnetId string
    The subnet ID of the infrastructure configuration.
    tags {[key: string]: string}
    The tags associated with the component.
    terminateInstanceOnFailure boolean
    The terminate instance on failure configuration of the infrastructure configuration.
    arn str
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    description str
    The description of the infrastructure configuration.
    instance_metadata_options InfrastructureConfigurationInstanceMetadataOptions
    The instance metadata option settings for the infrastructure configuration.
    instance_profile_name str
    The instance profile of 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 InfrastructureConfigurationLogging
    The logging configuration of the infrastructure configuration.
    placement InfrastructureConfigurationPlacement
    The placement option settings for the infrastructure configuration.
    resource_tags Mapping[str, str]
    The tags attached to the resource created by Image Builder.
    security_group_ids Sequence[str]
    The security group IDs of the infrastructure configuration.
    sns_topic_arn str
    The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
    subnet_id str
    The subnet ID of the infrastructure configuration.
    tags Mapping[str, str]
    The tags associated with the component.
    terminate_instance_on_failure bool
    The terminate instance on failure configuration of the infrastructure configuration.
    arn String
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    description String
    The description of the infrastructure configuration.
    instanceMetadataOptions Property Map
    The instance metadata option settings for the infrastructure configuration.
    instanceProfileName String
    The instance profile of 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.
    placement Property Map
    The placement option settings for the infrastructure configuration.
    resourceTags Map<String>
    The tags attached to the resource created by Image Builder.
    securityGroupIds List<String>
    The security group IDs of the infrastructure configuration.
    snsTopicArn String
    The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
    subnetId String
    The subnet ID of the infrastructure configuration.
    tags Map<String>
    The tags associated with the component.
    terminateInstanceOnFailure Boolean
    The terminate instance on failure configuration of the infrastructure configuration.

    Supporting Types

    InfrastructureConfigurationInstanceMetadataOptions

    HttpPutResponseHopLimit int
    Limit the number of hops that an instance metadata request can traverse to reach its destination.
    HttpTokens Pulumi.AwsNative.ImageBuilder.InfrastructureConfigurationInstanceMetadataOptionsHttpTokens
    Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
    HttpPutResponseHopLimit int
    Limit the number of hops that an instance metadata request can traverse to reach its destination.
    HttpTokens InfrastructureConfigurationInstanceMetadataOptionsHttpTokens
    Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
    httpPutResponseHopLimit Integer
    Limit the number of hops that an instance metadata request can traverse to reach its destination.
    httpTokens InfrastructureConfigurationInstanceMetadataOptionsHttpTokens
    Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
    httpPutResponseHopLimit number
    Limit the number of hops that an instance metadata request can traverse to reach its destination.
    httpTokens InfrastructureConfigurationInstanceMetadataOptionsHttpTokens
    Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
    http_put_response_hop_limit int
    Limit the number of hops that an instance metadata request can traverse to reach its destination.
    http_tokens InfrastructureConfigurationInstanceMetadataOptionsHttpTokens
    Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
    httpPutResponseHopLimit Number
    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

    InfrastructureConfigurationLogging

    S3Logs InfrastructureConfigurationS3Logs
    The Amazon S3 logging configuration.
    s3Logs InfrastructureConfigurationS3Logs
    The Amazon S3 logging configuration.
    s3Logs InfrastructureConfigurationS3Logs
    The Amazon S3 logging configuration.
    s3_logs InfrastructureConfigurationS3Logs
    The Amazon S3 logging configuration.
    s3Logs Property Map
    The Amazon S3 logging configuration.

    InfrastructureConfigurationPlacement

    AvailabilityZone string
    AvailabilityZone
    HostId string
    HostId
    HostResourceGroupArn string
    HostResourceGroupArn
    Tenancy InfrastructureConfigurationPlacementTenancy
    Tenancy
    availabilityZone String
    AvailabilityZone
    hostId String
    HostId
    hostResourceGroupArn String
    HostResourceGroupArn
    tenancy InfrastructureConfigurationPlacementTenancy
    Tenancy
    availabilityZone string
    AvailabilityZone
    hostId string
    HostId
    hostResourceGroupArn string
    HostResourceGroupArn
    tenancy InfrastructureConfigurationPlacementTenancy
    Tenancy
    availabilityZone String
    AvailabilityZone
    hostId String
    HostId
    hostResourceGroupArn String
    HostResourceGroupArn
    tenancy "default" | "dedicated" | "host"
    Tenancy

    InfrastructureConfigurationPlacementTenancy

    InfrastructureConfigurationS3Logs

    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_name str
    S3BucketName
    s3_key_prefix str
    S3KeyPrefix
    s3BucketName String
    S3BucketName
    s3KeyPrefix String
    S3KeyPrefix

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi