UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

1,086 lines 149 kB
"use strict"; var _a, _b, _c, _d, _e, _f; Object.defineProperty(exports, "__esModule", { value: true }); exports.SecurityGroup = exports.SecurityGroupTimeoutsOutputReference = exports.SecurityGroupIngressList = exports.SecurityGroupIngressOutputReference = exports.SecurityGroupEgressList = exports.SecurityGroupEgressOutputReference = void 0; exports.securityGroupEgressToTerraform = securityGroupEgressToTerraform; exports.securityGroupEgressToHclTerraform = securityGroupEgressToHclTerraform; exports.securityGroupIngressToTerraform = securityGroupIngressToTerraform; exports.securityGroupIngressToHclTerraform = securityGroupIngressToHclTerraform; exports.securityGroupTimeoutsToTerraform = securityGroupTimeoutsToTerraform; exports.securityGroupTimeoutsToHclTerraform = securityGroupTimeoutsToHclTerraform; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function securityGroupEgressToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return { cidr_blocks: struct.cidrBlocks === undefined ? null : cdktf.listMapper(cdktf.stringToTerraform, false)(struct.cidrBlocks), description: struct.description === undefined ? null : cdktf.stringToTerraform(struct.description), from_port: struct.fromPort === undefined ? null : cdktf.numberToTerraform(struct.fromPort), ipv6_cidr_blocks: struct.ipv6CidrBlocks === undefined ? null : cdktf.listMapper(cdktf.stringToTerraform, false)(struct.ipv6CidrBlocks), prefix_list_ids: struct.prefixListIds === undefined ? null : cdktf.listMapper(cdktf.stringToTerraform, false)(struct.prefixListIds), protocol: struct.protocol === undefined ? null : cdktf.stringToTerraform(struct.protocol), security_groups: struct.securityGroups === undefined ? null : cdktf.listMapper(cdktf.stringToTerraform, false)(struct.securityGroups), self: struct.selfAttribute === undefined ? null : cdktf.booleanToTerraform(struct.selfAttribute), to_port: struct.toPort === undefined ? null : cdktf.numberToTerraform(struct.toPort), }; } function securityGroupEgressToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = { cidr_blocks: { value: struct.cidrBlocks === undefined ? null : cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.cidrBlocks), isBlock: false, type: "list", storageClassType: "stringList", }, description: { value: struct.description === undefined ? null : cdktf.stringToHclTerraform(struct.description), isBlock: false, type: "simple", storageClassType: "string", }, from_port: { value: struct.fromPort === undefined ? null : cdktf.numberToHclTerraform(struct.fromPort), isBlock: false, type: "simple", storageClassType: "number", }, ipv6_cidr_blocks: { value: struct.ipv6CidrBlocks === undefined ? null : cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.ipv6CidrBlocks), isBlock: false, type: "list", storageClassType: "stringList", }, prefix_list_ids: { value: struct.prefixListIds === undefined ? null : cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.prefixListIds), isBlock: false, type: "list", storageClassType: "stringList", }, protocol: { value: struct.protocol === undefined ? null : cdktf.stringToHclTerraform(struct.protocol), isBlock: false, type: "simple", storageClassType: "string", }, security_groups: { value: struct.securityGroups === undefined ? null : cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.securityGroups), isBlock: false, type: "set", storageClassType: "stringList", }, self: { value: struct.selfAttribute === undefined ? null : cdktf.booleanToHclTerraform(struct.selfAttribute), isBlock: false, type: "simple", storageClassType: "boolean", }, to_port: { value: struct.toPort === undefined ? null : cdktf.numberToHclTerraform(struct.toPort), isBlock: false, type: "simple", storageClassType: "number", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } class SecurityGroupEgressOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._cidrBlocks !== undefined) { hasAnyValues = true; internalValueResult.cidrBlocks = this._cidrBlocks; } if (this._description !== undefined) { hasAnyValues = true; internalValueResult.description = this._description; } if (this._fromPort !== undefined) { hasAnyValues = true; internalValueResult.fromPort = this._fromPort; } if (this._ipv6CidrBlocks !== undefined) { hasAnyValues = true; internalValueResult.ipv6CidrBlocks = this._ipv6CidrBlocks; } if (this._prefixListIds !== undefined) { hasAnyValues = true; internalValueResult.prefixListIds = this._prefixListIds; } if (this._protocol !== undefined) { hasAnyValues = true; internalValueResult.protocol = this._protocol; } if (this._securityGroups !== undefined) { hasAnyValues = true; internalValueResult.securityGroups = this._securityGroups; } if (this._self !== undefined) { hasAnyValues = true; internalValueResult.selfAttribute = this._self; } if (this._toPort !== undefined) { hasAnyValues = true; internalValueResult.toPort = this._toPort; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._cidrBlocks = undefined; this._description = undefined; this._fromPort = undefined; this._ipv6CidrBlocks = undefined; this._prefixListIds = undefined; this._protocol = undefined; this._securityGroups = undefined; this._self = undefined; this._toPort = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; this._cidrBlocks = value.cidrBlocks; this._description = value.description; this._fromPort = value.fromPort; this._ipv6CidrBlocks = value.ipv6CidrBlocks; this._prefixListIds = value.prefixListIds; this._protocol = value.protocol; this._securityGroups = value.securityGroups; this._self = value.selfAttribute; this._toPort = value.toPort; } } get cidrBlocks() { return this.getListAttribute('cidr_blocks'); } set cidrBlocks(value) { this._cidrBlocks = value; } resetCidrBlocks() { this._cidrBlocks = undefined; } // Temporarily expose input value. Use with caution. get cidrBlocksInput() { return this._cidrBlocks; } get description() { return this.getStringAttribute('description'); } set description(value) { this._description = value; } resetDescription() { this._description = undefined; } // Temporarily expose input value. Use with caution. get descriptionInput() { return this._description; } get fromPort() { return this.getNumberAttribute('from_port'); } set fromPort(value) { this._fromPort = value; } resetFromPort() { this._fromPort = undefined; } // Temporarily expose input value. Use with caution. get fromPortInput() { return this._fromPort; } get ipv6CidrBlocks() { return this.getListAttribute('ipv6_cidr_blocks'); } set ipv6CidrBlocks(value) { this._ipv6CidrBlocks = value; } resetIpv6CidrBlocks() { this._ipv6CidrBlocks = undefined; } // Temporarily expose input value. Use with caution. get ipv6CidrBlocksInput() { return this._ipv6CidrBlocks; } get prefixListIds() { return this.getListAttribute('prefix_list_ids'); } set prefixListIds(value) { this._prefixListIds = value; } resetPrefixListIds() { this._prefixListIds = undefined; } // Temporarily expose input value. Use with caution. get prefixListIdsInput() { return this._prefixListIds; } get protocol() { return this.getStringAttribute('protocol'); } set protocol(value) { this._protocol = value; } resetProtocol() { this._protocol = undefined; } // Temporarily expose input value. Use with caution. get protocolInput() { return this._protocol; } get securityGroups() { return cdktf.Fn.tolist(this.getListAttribute('security_groups')); } set securityGroups(value) { this._securityGroups = value; } resetSecurityGroups() { this._securityGroups = undefined; } // Temporarily expose input value. Use with caution. get securityGroupsInput() { return this._securityGroups; } get selfAttribute() { return this.getBooleanAttribute('self'); } set selfAttribute(value) { this._self = value; } resetSelfAttribute() { this._self = undefined; } // Temporarily expose input value. Use with caution. get selfAttributeInput() { return this._self; } get toPort() { return this.getNumberAttribute('to_port'); } set toPort(value) { this._toPort = value; } resetToPort() { this._toPort = undefined; } // Temporarily expose input value. Use with caution. get toPortInput() { return this._toPort; } } exports.SecurityGroupEgressOutputReference = SecurityGroupEgressOutputReference; _a = JSII_RTTI_SYMBOL_1; SecurityGroupEgressOutputReference[_a] = { fqn: "@cdktf/provider-aws.securityGroup.SecurityGroupEgressOutputReference", version: "21.22.1" }; class SecurityGroupEgressList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new SecurityGroupEgressOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.SecurityGroupEgressList = SecurityGroupEgressList; _b = JSII_RTTI_SYMBOL_1; SecurityGroupEgressList[_b] = { fqn: "@cdktf/provider-aws.securityGroup.SecurityGroupEgressList", version: "21.22.1" }; function securityGroupIngressToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return { cidr_blocks: struct.cidrBlocks === undefined ? null : cdktf.listMapper(cdktf.stringToTerraform, false)(struct.cidrBlocks), description: struct.description === undefined ? null : cdktf.stringToTerraform(struct.description), from_port: struct.fromPort === undefined ? null : cdktf.numberToTerraform(struct.fromPort), ipv6_cidr_blocks: struct.ipv6CidrBlocks === undefined ? null : cdktf.listMapper(cdktf.stringToTerraform, false)(struct.ipv6CidrBlocks), prefix_list_ids: struct.prefixListIds === undefined ? null : cdktf.listMapper(cdktf.stringToTerraform, false)(struct.prefixListIds), protocol: struct.protocol === undefined ? null : cdktf.stringToTerraform(struct.protocol), security_groups: struct.securityGroups === undefined ? null : cdktf.listMapper(cdktf.stringToTerraform, false)(struct.securityGroups), self: struct.selfAttribute === undefined ? null : cdktf.booleanToTerraform(struct.selfAttribute), to_port: struct.toPort === undefined ? null : cdktf.numberToTerraform(struct.toPort), }; } function securityGroupIngressToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = { cidr_blocks: { value: struct.cidrBlocks === undefined ? null : cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.cidrBlocks), isBlock: false, type: "list", storageClassType: "stringList", }, description: { value: struct.description === undefined ? null : cdktf.stringToHclTerraform(struct.description), isBlock: false, type: "simple", storageClassType: "string", }, from_port: { value: struct.fromPort === undefined ? null : cdktf.numberToHclTerraform(struct.fromPort), isBlock: false, type: "simple", storageClassType: "number", }, ipv6_cidr_blocks: { value: struct.ipv6CidrBlocks === undefined ? null : cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.ipv6CidrBlocks), isBlock: false, type: "list", storageClassType: "stringList", }, prefix_list_ids: { value: struct.prefixListIds === undefined ? null : cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.prefixListIds), isBlock: false, type: "list", storageClassType: "stringList", }, protocol: { value: struct.protocol === undefined ? null : cdktf.stringToHclTerraform(struct.protocol), isBlock: false, type: "simple", storageClassType: "string", }, security_groups: { value: struct.securityGroups === undefined ? null : cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.securityGroups), isBlock: false, type: "set", storageClassType: "stringList", }, self: { value: struct.selfAttribute === undefined ? null : cdktf.booleanToHclTerraform(struct.selfAttribute), isBlock: false, type: "simple", storageClassType: "boolean", }, to_port: { value: struct.toPort === undefined ? null : cdktf.numberToHclTerraform(struct.toPort), isBlock: false, type: "simple", storageClassType: "number", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } class SecurityGroupIngressOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._cidrBlocks !== undefined) { hasAnyValues = true; internalValueResult.cidrBlocks = this._cidrBlocks; } if (this._description !== undefined) { hasAnyValues = true; internalValueResult.description = this._description; } if (this._fromPort !== undefined) { hasAnyValues = true; internalValueResult.fromPort = this._fromPort; } if (this._ipv6CidrBlocks !== undefined) { hasAnyValues = true; internalValueResult.ipv6CidrBlocks = this._ipv6CidrBlocks; } if (this._prefixListIds !== undefined) { hasAnyValues = true; internalValueResult.prefixListIds = this._prefixListIds; } if (this._protocol !== undefined) { hasAnyValues = true; internalValueResult.protocol = this._protocol; } if (this._securityGroups !== undefined) { hasAnyValues = true; internalValueResult.securityGroups = this._securityGroups; } if (this._self !== undefined) { hasAnyValues = true; internalValueResult.selfAttribute = this._self; } if (this._toPort !== undefined) { hasAnyValues = true; internalValueResult.toPort = this._toPort; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._cidrBlocks = undefined; this._description = undefined; this._fromPort = undefined; this._ipv6CidrBlocks = undefined; this._prefixListIds = undefined; this._protocol = undefined; this._securityGroups = undefined; this._self = undefined; this._toPort = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; this._cidrBlocks = value.cidrBlocks; this._description = value.description; this._fromPort = value.fromPort; this._ipv6CidrBlocks = value.ipv6CidrBlocks; this._prefixListIds = value.prefixListIds; this._protocol = value.protocol; this._securityGroups = value.securityGroups; this._self = value.selfAttribute; this._toPort = value.toPort; } } get cidrBlocks() { return this.getListAttribute('cidr_blocks'); } set cidrBlocks(value) { this._cidrBlocks = value; } resetCidrBlocks() { this._cidrBlocks = undefined; } // Temporarily expose input value. Use with caution. get cidrBlocksInput() { return this._cidrBlocks; } get description() { return this.getStringAttribute('description'); } set description(value) { this._description = value; } resetDescription() { this._description = undefined; } // Temporarily expose input value. Use with caution. get descriptionInput() { return this._description; } get fromPort() { return this.getNumberAttribute('from_port'); } set fromPort(value) { this._fromPort = value; } resetFromPort() { this._fromPort = undefined; } // Temporarily expose input value. Use with caution. get fromPortInput() { return this._fromPort; } get ipv6CidrBlocks() { return this.getListAttribute('ipv6_cidr_blocks'); } set ipv6CidrBlocks(value) { this._ipv6CidrBlocks = value; } resetIpv6CidrBlocks() { this._ipv6CidrBlocks = undefined; } // Temporarily expose input value. Use with caution. get ipv6CidrBlocksInput() { return this._ipv6CidrBlocks; } get prefixListIds() { return this.getListAttribute('prefix_list_ids'); } set prefixListIds(value) { this._prefixListIds = value; } resetPrefixListIds() { this._prefixListIds = undefined; } // Temporarily expose input value. Use with caution. get prefixListIdsInput() { return this._prefixListIds; } get protocol() { return this.getStringAttribute('protocol'); } set protocol(value) { this._protocol = value; } resetProtocol() { this._protocol = undefined; } // Temporarily expose input value. Use with caution. get protocolInput() { return this._protocol; } get securityGroups() { return cdktf.Fn.tolist(this.getListAttribute('security_groups')); } set securityGroups(value) { this._securityGroups = value; } resetSecurityGroups() { this._securityGroups = undefined; } // Temporarily expose input value. Use with caution. get securityGroupsInput() { return this._securityGroups; } get selfAttribute() { return this.getBooleanAttribute('self'); } set selfAttribute(value) { this._self = value; } resetSelfAttribute() { this._self = undefined; } // Temporarily expose input value. Use with caution. get selfAttributeInput() { return this._self; } get toPort() { return this.getNumberAttribute('to_port'); } set toPort(value) { this._toPort = value; } resetToPort() { this._toPort = undefined; } // Temporarily expose input value. Use with caution. get toPortInput() { return this._toPort; } } exports.SecurityGroupIngressOutputReference = SecurityGroupIngressOutputReference; _c = JSII_RTTI_SYMBOL_1; SecurityGroupIngressOutputReference[_c] = { fqn: "@cdktf/provider-aws.securityGroup.SecurityGroupIngressOutputReference", version: "21.22.1" }; class SecurityGroupIngressList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new SecurityGroupIngressOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.SecurityGroupIngressList = SecurityGroupIngressList; _d = JSII_RTTI_SYMBOL_1; SecurityGroupIngressList[_d] = { fqn: "@cdktf/provider-aws.securityGroup.SecurityGroupIngressList", version: "21.22.1" }; function securityGroupTimeoutsToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return { create: cdktf.stringToTerraform(struct.create), delete: cdktf.stringToTerraform(struct.delete), }; } function securityGroupTimeoutsToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = { create: { value: cdktf.stringToHclTerraform(struct.create), isBlock: false, type: "simple", storageClassType: "string", }, delete: { value: cdktf.stringToHclTerraform(struct.delete), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } class SecurityGroupTimeoutsOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource, terraformAttribute) { super(terraformResource, terraformAttribute, false); this.isEmptyObject = false; } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._create !== undefined) { hasAnyValues = true; internalValueResult.create = this._create; } if (this._delete !== undefined) { hasAnyValues = true; internalValueResult.delete = this._delete; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._create = undefined; this._delete = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; this._create = value.create; this._delete = value.delete; } } get create() { return this.getStringAttribute('create'); } set create(value) { this._create = value; } resetCreate() { this._create = undefined; } // Temporarily expose input value. Use with caution. get createInput() { return this._create; } get delete() { return this.getStringAttribute('delete'); } set delete(value) { this._delete = value; } resetDelete() { this._delete = undefined; } // Temporarily expose input value. Use with caution. get deleteInput() { return this._delete; } } exports.SecurityGroupTimeoutsOutputReference = SecurityGroupTimeoutsOutputReference; _e = JSII_RTTI_SYMBOL_1; SecurityGroupTimeoutsOutputReference[_e] = { fqn: "@cdktf/provider-aws.securityGroup.SecurityGroupTimeoutsOutputReference", version: "21.22.1" }; /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/security_group aws_security_group} */ class SecurityGroup extends cdktf.TerraformResource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a SecurityGroup resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the SecurityGroup to import * @param importFromId The id of the existing SecurityGroup that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/security_group#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the SecurityGroup to import is found */ static generateConfigForImport(scope, importToId, importFromId, provider) { return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aws_security_group", importId: importFromId, provider }); } // =========== // INITIALIZER // =========== /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/security_group aws_security_group} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options SecurityGroupConfig = {} */ constructor(scope, id, config = {}) { super(scope, id, { terraformResourceType: 'aws_security_group', terraformGeneratorMetadata: { providerName: 'aws', providerVersion: '6.25.0', providerVersionConstraint: '~> 6.0' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle, provisioners: config.provisioners, connection: config.connection, forEach: config.forEach }); // egress - computed: true, optional: true, required: false this._egress = new SecurityGroupEgressList(this, "egress", true); // ingress - computed: true, optional: true, required: false this._ingress = new SecurityGroupIngressList(this, "ingress", true); // timeouts - computed: false, optional: true, required: false this._timeouts = new SecurityGroupTimeoutsOutputReference(this, "timeouts"); this._description = config.description; this._egress.internalValue = config.egress; this._id = config.id; this._ingress.internalValue = config.ingress; this._name = config.name; this._namePrefix = config.namePrefix; this._region = config.region; this._revokeRulesOnDelete = config.revokeRulesOnDelete; this._tags = config.tags; this._tagsAll = config.tagsAll; this._vpcId = config.vpcId; this._timeouts.internalValue = config.timeouts; } // ========== // ATTRIBUTES // ========== // arn - computed: true, optional: false, required: false get arn() { return this.getStringAttribute('arn'); } get description() { return this.getStringAttribute('description'); } set description(value) { this._description = value; } resetDescription() { this._description = undefined; } // Temporarily expose input value. Use with caution. get descriptionInput() { return this._description; } get egress() { return this._egress; } putEgress(value) { this._egress.internalValue = value; } resetEgress() { this._egress.internalValue = undefined; } // Temporarily expose input value. Use with caution. get egressInput() { return this._egress.internalValue; } get id() { return this.getStringAttribute('id'); } set id(value) { this._id = value; } resetId() { this._id = undefined; } // Temporarily expose input value. Use with caution. get idInput() { return this._id; } get ingress() { return this._ingress; } putIngress(value) { this._ingress.internalValue = value; } resetIngress() { this._ingress.internalValue = undefined; } // Temporarily expose input value. Use with caution. get ingressInput() { return this._ingress.internalValue; } get name() { return this.getStringAttribute('name'); } set name(value) { this._name = value; } resetName() { this._name = undefined; } // Temporarily expose input value. Use with caution. get nameInput() { return this._name; } get namePrefix() { return this.getStringAttribute('name_prefix'); } set namePrefix(value) { this._namePrefix = value; } resetNamePrefix() { this._namePrefix = undefined; } // Temporarily expose input value. Use with caution. get namePrefixInput() { return this._namePrefix; } // owner_id - computed: true, optional: false, required: false get ownerId() { return this.getStringAttribute('owner_id'); } get region() { return this.getStringAttribute('region'); } set region(value) { this._region = value; } resetRegion() { this._region = undefined; } // Temporarily expose input value. Use with caution. get regionInput() { return this._region; } get revokeRulesOnDelete() { return this.getBooleanAttribute('revoke_rules_on_delete'); } set revokeRulesOnDelete(value) { this._revokeRulesOnDelete = value; } resetRevokeRulesOnDelete() { this._revokeRulesOnDelete = undefined; } // Temporarily expose input value. Use with caution. get revokeRulesOnDeleteInput() { return this._revokeRulesOnDelete; } get tags() { return this.getStringMapAttribute('tags'); } set tags(value) { this._tags = value; } resetTags() { this._tags = undefined; } // Temporarily expose input value. Use with caution. get tagsInput() { return this._tags; } get tagsAll() { return this.getStringMapAttribute('tags_all'); } set tagsAll(value) { this._tagsAll = value; } resetTagsAll() { this._tagsAll = undefined; } // Temporarily expose input value. Use with caution. get tagsAllInput() { return this._tagsAll; } get vpcId() { return this.getStringAttribute('vpc_id'); } set vpcId(value) { this._vpcId = value; } resetVpcId() { this._vpcId = undefined; } // Temporarily expose input value. Use with caution. get vpcIdInput() { return this._vpcId; } get timeouts() { return this._timeouts; } putTimeouts(value) { this._timeouts.internalValue = value; } resetTimeouts() { this._timeouts.internalValue = undefined; } // Temporarily expose input value. Use with caution. get timeoutsInput() { return this._timeouts.internalValue; } // ========= // SYNTHESIS // ========= synthesizeAttributes() { return { description: cdktf.stringToTerraform(this._description), egress: cdktf.listMapper(securityGroupEgressToTerraform, false)(this._egress.internalValue), id: cdktf.stringToTerraform(this._id), ingress: cdktf.listMapper(securityGroupIngressToTerraform, false)(this._ingress.internalValue), name: cdktf.stringToTerraform(this._name), name_prefix: cdktf.stringToTerraform(this._namePrefix), region: cdktf.stringToTerraform(this._region), revoke_rules_on_delete: cdktf.booleanToTerraform(this._revokeRulesOnDelete), tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._tags), tags_all: cdktf.hashMapper(cdktf.stringToTerraform)(this._tagsAll), vpc_id: cdktf.stringToTerraform(this._vpcId), timeouts: securityGroupTimeoutsToTerraform(this._timeouts.internalValue), }; } synthesizeHclAttributes() { const attrs = { description: { value: cdktf.stringToHclTerraform(this._description), isBlock: false, type: "simple", storageClassType: "string", }, egress: { value: cdktf.listMapperHcl(securityGroupEgressToHclTerraform, false)(this._egress.internalValue), isBlock: true, type: "set", storageClassType: "SecurityGroupEgressList", }, id: { value: cdktf.stringToHclTerraform(this._id), isBlock: false, type: "simple", storageClassType: "string", }, ingress: { value: cdktf.listMapperHcl(securityGroupIngressToHclTerraform, false)(this._ingress.internalValue), isBlock: true, type: "set", storageClassType: "SecurityGroupIngressList", }, name: { value: cdktf.stringToHclTerraform(this._name), isBlock: false, type: "simple", storageClassType: "string", }, name_prefix: { value: cdktf.stringToHclTerraform(this._namePrefix), isBlock: false, type: "simple", storageClassType: "string", }, region: { value: cdktf.stringToHclTerraform(this._region), isBlock: false, type: "simple", storageClassType: "string", }, revoke_rules_on_delete: { value: cdktf.booleanToHclTerraform(this._revokeRulesOnDelete), isBlock: false, type: "simple", storageClassType: "boolean", }, tags: { value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._tags), isBlock: false, type: "map", storageClassType: "stringMap", }, tags_all: { value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._tagsAll), isBlock: false, type: "map", storageClassType: "stringMap", }, vpc_id: { value: cdktf.stringToHclTerraform(this._vpcId), isBlock: false, type: "simple", storageClassType: "string", }, timeouts: { value: securityGroupTimeoutsToHclTerraform(this._timeouts.internalValue), isBlock: true, type: "struct", storageClassType: "SecurityGroupTimeouts", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } } exports.SecurityGroup = SecurityGroup; _f = JSII_RTTI_SYMBOL_1; SecurityGroup[_f] = { fqn: "@cdktf/provider-aws.securityGroup.SecurityGroup", version: "21.22.1" }; // ================= // STATIC PROPERTIES // ================= SecurityGroup.tfResourceType = "aws_security_group"; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvc2VjdXJpdHktZ3JvdXAvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQTZHQSx3RUFnQkM7QUFHRCw4RUFnRUM7QUF5U0QsMEVBZ0JDO0FBR0QsZ0ZBZ0VDO0FBNlFELDRFQVNDO0FBR0Qsa0ZBc0JDOztBQWwyQkQsK0JBQStCO0FBb0cvQixTQUFnQiw4QkFBOEIsQ0FBQyxNQUFnRDtJQUM3RixJQUFJLENBQUMsS0FBSyxDQUFDLFVBQVUsQ0FBQyxNQUFNLENBQUMsSUFBSSxLQUFLLENBQUMsWUFBWSxDQUFDLFlBQVksQ0FBQyxNQUFNLENBQUMsRUFBRSxDQUFDO1FBQUMsT0FBTyxNQUFNLENBQUM7SUFBQyxDQUFDO0lBQzVGLElBQUksS0FBSyxDQUFDLGdCQUFnQixDQUFDLE1BQU0sQ0FBQyxFQUFFLENBQUM7UUFDbkMsTUFBTSxJQUFJLEtBQUssQ0FBQyxvSEFBb0gsQ0FBQyxDQUFDO0lBQ3hJLENBQUM7SUFDRCxPQUFPO1FBQ0wsV0FBVyxFQUFFLE1BQU8sQ0FBQyxVQUFVLEtBQUssU0FBUyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxVQUFVLENBQUMsS0FBSyxDQUFDLGlCQUFpQixFQUFFLEt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