import * as core from "@terrascript/core"; export interface NodesArgs extends core.SchemaArgs { address: string | core.StringOut; availabilityZone: string | core.StringOut; id: string | core.StringOut; port: number | core.NumberOut; } export class Nodes extends core.Schema { @core.attr(String, { computed: true }) public address!: string | core.StringOut; @core.attr(String, { computed: true }) public availabilityZone!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(Number, { computed: true }) public port!: number | core.NumberOut; } export interface ServerSideEncryptionArgs extends core.SchemaArgs { enabled?: boolean | core.BooleanOut; } export class ServerSideEncryption extends core.Schema { @core.attr(Boolean) public enabled?: boolean | core.BooleanOut; } export interface DaxClusterArgs extends core.ResourceArgs { /** * (Optional) List of Availability Zones in which the */ availabilityZones?: core.Array | core.ArrayOut; clusterEndpointEncryptionType?: string | core.StringOut; clusterName: string | core.StringOut; description?: string | core.StringOut; /** * (Required) A valid Amazon Resource Name (ARN) that identifies */ iamRoleArn: string | core.StringOut; maintenanceWindow?: string | core.StringOut; nodeType: string | core.StringOut; notificationTopicArn?: string | core.StringOut; parameterGroupName?: string | core.StringOut; replicationFactor: number | core.NumberOut; securityGroupIds?: core.Array | core.ArrayOut; /** * (Optional) Encrypt at rest options */ serverSideEncryption?: ServerSideEncryption; subnetGroupName?: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class DaxCluster extends core.Resource { /** * The ARN of the DAX cluster */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) List of Availability Zones in which the */ @core.attr(String, { kind: "array" }) public availabilityZones?: core.Array | core.ArrayOut; /** * The DNS name of the DAX cluster without the port appended */ @core.attr(String, { computed: true }) public clusterAddress!: string | core.StringOut; @core.attr(String) public clusterEndpointEncryptionType?: string | core.StringOut; @core.attr(String) public clusterName!: string | core.StringOut; /** * The configuration endpoint for this DAX cluster, */ @core.attr(String, { computed: true }) public configurationEndpoint!: string | core.StringOut; @core.attr(String) public description?: string | core.StringOut; /** * (Required) A valid Amazon Resource Name (ARN) that identifies */ @core.attr(String) public iamRoleArn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(String, { computed: true }) public maintenanceWindow?: string | core.StringOut; @core.attr(String) public nodeType!: string | core.StringOut; /** * List of node objects including `id`, `address`, `port` and */ @core.attr(Nodes, { computed: true, kind: "array" }) public nodes!: core.Array | core.ArrayOut; @core.attr(String) public notificationTopicArn?: string | core.StringOut; @core.attr(String, { computed: true }) public parameterGroupName?: string | core.StringOut; /** * The port used by the configuration endpoint */ @core.attr(Number, { computed: true }) public port!: number | core.NumberOut; @core.attr(Number) public replicationFactor!: number | core.NumberOut; @core.attr(String, { computed: true, kind: "array" }) public securityGroupIds?: core.Array | core.ArrayOut; /** * (Optional) Encrypt at rest options */ @core.attr(ServerSideEncryption) public serverSideEncryption?: ServerSideEncryption; @core.attr(String, { computed: true }) public subnetGroupName?: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: DaxClusterArgs) { super(name, "aws_dax_cluster", args); } public override getNamespace(): string { return "aws_dynamodb_accelerator"; } }