Class SecurityGroup
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- com.hashicorp.cdktf.TerraformElement
-
- com.hashicorp.cdktf.TerraformResource
-
- com.hashicorp.cdktf.providers.aws.security_group.SecurityGroup
-
- All Implemented Interfaces:
com.hashicorp.cdktf.IInterpolatingParent,com.hashicorp.cdktf.ITerraformAddressable,com.hashicorp.cdktf.ITerraformDependable,com.hashicorp.cdktf.ITerraformResource,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-30T04:56:55.015Z") @Stability(Stable) public class SecurityGroup extends com.hashicorp.cdktf.TerraformResource
Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/security_group aws_security_group}.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecurityGroup.BuilderA fluent builder forSecurityGroup.-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.IInterpolatingParent
com.hashicorp.cdktf.IInterpolatingParent.Jsii$Default, com.hashicorp.cdktf.IInterpolatingParent.Jsii$Proxy
-
-
Field Summary
Fields Modifier and Type Field Description static StringTF_RESOURCE_TYPE
-
Constructor Summary
Constructors Modifier Constructor Description protectedSecurityGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedSecurityGroup(software.amazon.jsii.JsiiObjectRef objRef)SecurityGroup(software.constructs.Construct scope, String id)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/security_group aws_security_group} Resource.SecurityGroup(software.constructs.Construct scope, String id, SecurityGroupConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/security_group aws_security_group} Resource.
-
Method Summary
-
Methods inherited from class com.hashicorp.cdktf.TerraformResource
getAnyMapAttribute, getBooleanAttribute, getBooleanMapAttribute, getConnection, getCount, getDependsOn, getForEach, getLifecycle, getListAttribute, getNumberAttribute, getNumberListAttribute, getNumberMapAttribute, getProvider, getProvisioners, getStringAttribute, getStringMapAttribute, getTerraformGeneratorMetadata, getTerraformMetaArguments, getTerraformResourceType, interpolationForAttribute, isTerraformResource, setConnection, setConnection, setCount, setCount, setDependsOn, setForEach, setLifecycle, setProvider, setProvisioners, toMetadata, toTerraform
-
Methods inherited from class com.hashicorp.cdktf.TerraformElement
addOverride, getCdktfStack, getConstructNodeMetadata, getFqn, getFriendlyUniqueId, getRawOverrides, isTerraformElement, overrideLogicalId, resetOverrideLogicalId
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Field Detail
-
TF_RESOURCE_TYPE
@Stability(Stable) public static final String TF_RESOURCE_TYPE
-
-
Constructor Detail
-
SecurityGroup
protected SecurityGroup(software.amazon.jsii.JsiiObjectRef objRef)
-
SecurityGroup
protected SecurityGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
SecurityGroup
@Stability(Stable) public SecurityGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable SecurityGroupConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/security_group aws_security_group} Resource.- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.config-
-
SecurityGroup
@Stability(Stable) public SecurityGroup(@NotNull software.constructs.Construct scope, @NotNull String id)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/security_group aws_security_group} Resource.- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.
-
-
Method Detail
-
putEgress
@Stability(Stable) public void putEgress(@NotNull Object value)- Parameters:
value- This parameter is required.
-
putIngress
@Stability(Stable) public void putIngress(@NotNull Object value)- Parameters:
value- This parameter is required.
-
putTimeouts
@Stability(Stable) public void putTimeouts(@NotNull SecurityGroupTimeouts value)- Parameters:
value- This parameter is required.
-
resetDescription
@Stability(Stable) public void resetDescription()
-
resetEgress
@Stability(Stable) public void resetEgress()
-
resetId
@Stability(Stable) public void resetId()
-
resetIngress
@Stability(Stable) public void resetIngress()
-
resetName
@Stability(Stable) public void resetName()
-
resetNamePrefix
@Stability(Stable) public void resetNamePrefix()
-
resetRevokeRulesOnDelete
@Stability(Stable) public void resetRevokeRulesOnDelete()
-
resetTags
@Stability(Stable) public void resetTags()
-
resetTagsAll
@Stability(Stable) public void resetTagsAll()
-
resetTimeouts
@Stability(Stable) public void resetTimeouts()
-
resetVpcId
@Stability(Stable) public void resetVpcId()
-
synthesizeAttributes
@Stability(Stable) @NotNull protected Map<String,Object> synthesizeAttributes()
- Overrides:
synthesizeAttributesin classcom.hashicorp.cdktf.TerraformResource
-
getArn
@Stability(Stable) @NotNull public String getArn()
-
getEgress
@Stability(Stable) @NotNull public SecurityGroupEgressList getEgress()
-
getIngress
@Stability(Stable) @NotNull public SecurityGroupIngressList getIngress()
-
getOwnerId
@Stability(Stable) @NotNull public String getOwnerId()
-
getTimeouts
@Stability(Stable) @NotNull public SecurityGroupTimeoutsOutputReference getTimeouts()
-
getDescriptionInput
@Stability(Stable) @Nullable public String getDescriptionInput()
-
getEgressInput
@Stability(Stable) @Nullable public Object getEgressInput()
-
getIdInput
@Stability(Stable) @Nullable public String getIdInput()
-
getIngressInput
@Stability(Stable) @Nullable public Object getIngressInput()
-
getNameInput
@Stability(Stable) @Nullable public String getNameInput()
-
getNamePrefixInput
@Stability(Stable) @Nullable public String getNamePrefixInput()
-
getRevokeRulesOnDeleteInput
@Stability(Stable) @Nullable public Object getRevokeRulesOnDeleteInput()
-
getTimeoutsInput
@Stability(Stable) @Nullable public Object getTimeoutsInput()
-
getVpcIdInput
@Stability(Stable) @Nullable public String getVpcIdInput()
-
getDescription
@Stability(Stable) @NotNull public String getDescription()
-
setDescription
@Stability(Stable) public void setDescription(@NotNull String value)
-
getId
@Stability(Stable) @NotNull public String getId()
-
setId
@Stability(Stable) public void setId(@NotNull String value)
-
getName
@Stability(Stable) @NotNull public String getName()
-
setName
@Stability(Stable) public void setName(@NotNull String value)
-
getNamePrefix
@Stability(Stable) @NotNull public String getNamePrefix()
-
setNamePrefix
@Stability(Stable) public void setNamePrefix(@NotNull String value)
-
getRevokeRulesOnDelete
@Stability(Stable) @NotNull public Object getRevokeRulesOnDelete()
-
setRevokeRulesOnDelete
@Stability(Stable) public void setRevokeRulesOnDelete(@NotNull Boolean value)
-
setRevokeRulesOnDelete
@Stability(Stable) public void setRevokeRulesOnDelete(@NotNull com.hashicorp.cdktf.IResolvable value)
-
getVpcId
@Stability(Stable) @NotNull public String getVpcId()
-
setVpcId
@Stability(Stable) public void setVpcId(@NotNull String value)
-
-