SecurityGroupSchema
Hierarchy
- BaseResourceSchema
- SecurityGroupSchema
Index
Properties
Properties
inheritedparents
properties
Input properties.
properties.awsAccountId
- The AWS account id.properties.awsRegionId
- The AWS region id.properties.rules
- The security group rules. See SecurityGroupRuleSchema for options.
Type declaration
awsAccountId: string
awsRegionId: string
rules: SecurityGroupRuleSchema[]
inheritedresourceId
response
Saved response.
response.Arn
- The security group arn.response.GroupId
- The security group id.response.Rules
- The security group rules. It has anegress
andingress
array, whose values correspond to the output from the AWS SDK V3.
Type declaration
optionalArn?: string
optionalGroupId?: string
optionalRules?: { egress: undefined | SecurityGroupRule[]; ingress: undefined | SecurityGroupRule[] }
egress: undefined | SecurityGroupRule[]
ingress: undefined | SecurityGroupRule[]
inheritedtags
Type declaration
[key string]: string
The
SecurityGroupSchema
class is the schema for theSecurityGroup
resource, which represents the AWS VPC Security Group resource. This resource can create a security group in AWS using the AWS JavaScript SDK V3 API. See official sdk docs.Resources/SecurityGroup
parents - This resource has parents.
resourceId - The resource id is of format
sec-grp-<region-id>-<security-group-name>