interface SecurityGroupContextQuery
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CloudAssembly.Schema.SecurityGroupContextQuery |
Java | software.amazon.awscdk.cloudassembly.schema.SecurityGroupContextQuery |
Python | aws_cdk.cloud_assembly_schema.SecurityGroupContextQuery |
TypeScript (source) | @aws-cdk/cloud-assembly-schema » SecurityGroupContextQuery |
Query input for looking up a security group.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';
const securityGroupContextQuery: cloud_assembly_schema.SecurityGroupContextQuery = {
account: 'account',
region: 'region',
// the properties below are optional
lookupRoleArn: 'lookupRoleArn',
securityGroupId: 'securityGroupId',
securityGroupName: 'securityGroupName',
vpcId: 'vpcId',
};
Properties
| Name | Type | Description |
|---|---|---|
| account | string | Query account. |
| region | string | Query region. |
| lookup | string | The ARN of the role that should be used to look up the missing values. |
| security | string | Security group id. |
| security | string | Security group name. |
| vpc | string | VPC ID. |
account
Type:
string
Query account.
region
Type:
string
Query region.
lookupRoleArn?
Type:
string
(optional, default: None)
The ARN of the role that should be used to look up the missing values.
securityGroupId?
Type:
string
(optional, default: None)
Security group id.
securityGroupName?
Type:
string
(optional, default: None)
Security group name.
vpcId?
Type:
string
(optional, default: None)
VPC ID.

.NET
Java
Python
TypeScript (