SecurityGroupState constructor

SecurityGroupState({
  1. Input<String?>? arn,
  2. Input<String?>? description,
  3. Input<List<SecurityGroupEgress>?>? egress,
  4. Input<List<SecurityGroupIngress>?>? ingress,
  5. Input<String?>? name,
  6. Input<String?>? namePrefix,
  7. Input<String?>? ownerId,
  8. Input<String?>? region,
  9. Input<bool?>? revokeRulesOnDelete,
  10. Input<Map<String, String>?>? tags,
  11. Input<Map<String, String>?>? tagsAll,
  12. 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.

Implementation

SecurityGroupState({
  this.arn,
  pulumi.Input<String?>? description,
  this.egress,
  this.ingress,
  this.name,
  this.namePrefix,
  this.ownerId,
  this.region,
  this.revokeRulesOnDelete,
  this.tags,
  this.tagsAll,
  this.vpcId,
}) : description = description ?? pulumi.Input.fromValue('Managed by Pulumi');