import * as core from "@terrascript/core"; export interface InstanceMetadataOptionsArgs extends core.SchemaArgs { httpPutResponseHopLimit: number | core.NumberOut; httpTokens: string | core.StringOut; } export class InstanceMetadataOptions extends core.Schema { @core.attr(Number, { computed: true }) public httpPutResponseHopLimit!: number | core.NumberOut; @core.attr(String, { computed: true }) public httpTokens!: string | core.StringOut; } export interface S3LogsArgs extends core.SchemaArgs { s3BucketName: string | core.StringOut; s3KeyPrefix: string | core.StringOut; } export class S3Logs extends core.Schema { @core.attr(String, { computed: true }) public s3BucketName!: string | core.StringOut; @core.attr(String, { computed: true }) public s3KeyPrefix!: string | core.StringOut; } export interface LoggingArgs extends core.SchemaArgs { s3Logs: core.Array | core.ArrayOut; } export class Logging extends core.Schema { @core.attr(S3Logs, { computed: true, kind: "array" }) public s3Logs!: core.Array | core.ArrayOut; } export interface DsInfrastructureConfigurationArgs { /** * (Required) Amazon Resource Name (ARN) of the infrastructure configuration. */ arn: string | core.StringOut; /** * Key-value map of resource tags for the infrastructure created by the infrastructure configuration. */ resourceTags?: core.Map | core.MapOut; /** * Key-value map of resource tags for the infrastructure configuration. */ tags?: core.Map | core.MapOut; } export class DsInfrastructureConfiguration extends core.Data { /** * (Required) Amazon Resource Name (ARN) of the infrastructure configuration. */ @core.attr(String) public arn!: string | core.StringOut; /** * Date the infrastructure configuration was created. */ @core.attr(String, { computed: true }) public dateCreated!: string | core.StringOut; @core.attr(String, { computed: true }) public dateUpdated!: string | core.StringOut; /** * Description of the infrastructure configuration. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Nested list of instance metadata options for the HTTP requests that pipeline builds use to launch EC * 2 build and test instances. */ @core.attr(InstanceMetadataOptions, { computed: true, kind: "array" }) public instanceMetadataOptions!: | core.Array | core.ArrayOut; /** * Name of the IAM Instance Profile associated with the configuration. */ @core.attr(String, { computed: true }) public instanceProfileName!: string | core.StringOut; /** * Set of EC2 Instance Types associated with the configuration. */ @core.attr(String, { computed: true, kind: "array" }) public instanceTypes!: core.Array | core.ArrayOut; /** * Name of the EC2 Key Pair associated with the configuration. */ @core.attr(String, { computed: true }) public keyPair!: string | core.StringOut; /** * Nested list of logging settings. */ @core.attr(Logging, { computed: true, kind: "array" }) public logging!: core.Array | core.ArrayOut; /** * Name of the infrastructure configuration. */ @core.attr(String, { computed: true }) public name!: string | core.StringOut; /** * Key-value map of resource tags for the infrastructure created by the infrastructure configuration. */ @core.attr(String, { computed: true, kind: "map" }) public resourceTags?: core.Map | core.MapOut; /** * Set of EC2 Security Group identifiers associated with the configuration. */ @core.attr(String, { computed: true, kind: "array" }) public securityGroupIds!: core.Array | core.ArrayOut; /** * Amazon Resource Name (ARN) of the SNS Topic associated with the configuration. */ @core.attr(String, { computed: true }) public snsTopicArn!: string | core.StringOut; /** * Identifier of the EC2 Subnet associated with the configuration. */ @core.attr(String, { computed: true }) public subnetId!: string | core.StringOut; /** * Key-value map of resource tags for the infrastructure configuration. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * Whether instances are terminated on failure. */ @core.attr(Boolean, { computed: true }) public terminateInstanceOnFailure!: boolean | core.BooleanOut; constructor(name: string, args?: DsInfrastructureConfigurationArgs) { super(name, "aws_imagebuilder_infrastructure_configuration", args); } public override getNamespace(): string { return "aws_imagebuilder"; } }