SecurityGroupState class

Input properties used for looking up and filtering SecurityGroup resources.

Constructors

SecurityGroupState({Input<String?>? arn, Input<String?>? description, Input<List<SecurityGroupEgress>?>? egress, Input<List<SecurityGroupIngress>?>? ingress, Input<String?>? name, Input<String?>? namePrefix, Input<String?>? ownerId, Input<String?>? region, Input<bool?>? revokeRulesOnDelete, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll, Input<String?>? vpcId})
Creates a new SecurityGroupState. arn ARN of the security group. description Security group description. Defaults to Managed by Pulumi. Cannot be "". NOTE: This field maps to the AWS GroupDescription attribute, for which there is no Update API. If you'd like to classify your security groups in a way that can be updated, use tags. egress Configuration block for egress rules. Can be specified multiple times for each egress rule. Each egress block supports fields documented below. This argument is processed in attribute-as-blocks mode. ingress Configuration block for ingress rules. Can be specified multiple times for each ingress rule. Each ingress block supports fields documented below. This argument is processed in attribute-as-blocks mode. name Name of the security group. If omitted, the provider will assign a random, unique name. namePrefix Creates a unique name beginning with the specified prefix. Conflicts with name. ownerId Owner ID. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. revokeRulesOnDelete Instruct the 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. tags Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. vpcId VPC ID. Defaults to the region's default VPC.
SecurityGroupState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
ARN of the security group.
final
description → Input<String?>?
Security group description. Defaults to Managed by Pulumi. Cannot be "". NOTE: This field maps to the AWS GroupDescription attribute, for which there is no Update API. If you'd like to classify your security groups in a way that can be updated, use tags.
final
egress → Input<List<SecurityGroupEgress>?>?
Configuration block for egress rules. Can be specified multiple times for each egress rule. Each egress block supports fields documented below. This argument is processed in attribute-as-blocks mode.
final
hashCode → int
The hash code for this object.
no setterinherited
ingress → Input<List<SecurityGroupIngress>?>?
Configuration block for ingress rules. Can be specified multiple times for each ingress rule. Each ingress block supports fields documented below. This argument is processed in attribute-as-blocks mode.
final
name → Input<String?>?
Name of the security group. If omitted, the provider will assign a random, unique name.
final
namePrefix → Input<String?>?
Creates a unique name beginning with the specified prefix. Conflicts with name.
final
ownerId → Input<String?>?
Owner ID.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
revokeRulesOnDelete → Input<bool?>?
Instruct the 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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
tagsAll → Input<Map<String, String>?>?
A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
final
vpcId → Input<String?>?
VPC ID. Defaults to the region's default VPC.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited