Class SecurityGroupState
Inherited Members
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public sealed class SecurityGroupState : ResourceArgs
Constructors
View SourceSecurityGroupState()
Declaration
public SecurityGroupState()
Properties
View SourceArn
The ARN of the security group
Declaration
public Input<string> Arn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
Description of this egress rule.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Egress
Can be specified multiple times for each egress rule. Each egress block supports fields documented below.
Declaration
public InputList<SecurityGroupEgressGetArgs> Egress { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<SecurityGroupEgressGetArgs> |
Ingress
Can be specified multiple times for each ingress rule. Each ingress block supports fields documented below.
Declaration
public InputList<SecurityGroupIngressGetArgs> Ingress { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<SecurityGroupIngressGetArgs> |
Name
The name of the security group. If omitted, this provider will assign a random, unique name
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NamePrefix
Creates a unique name beginning with the specified
prefix. Conflicts with name.
Declaration
public Input<string> NamePrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
OwnerId
The owner ID.
Declaration
public Input<string> OwnerId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RevokeRulesOnDelete
Instruct this provider to revoke all of the
Security Groups attached ingress and egress rules before deleting the rule
itself. This is normally not needed, however certain AWS services such as
Elastic Map Reduce may automatically add required rules to security groups used
with the service, and those rules may contain a cyclic dependency that prevent
the security groups from being destroyed without removing the dependency first.
Default false
Declaration
public Input<bool> RevokeRulesOnDelete { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Tags
A map of tags to assign to the resource.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
VpcId
The VPC ID.
Declaration
public Input<string> VpcId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |