aws-cdk-lib.cloud_assembly_schema.SecurityGroupContextQuery

interface SecurityGroupContextQuery

LanguageType name
.NETAmazon.CDK.CloudAssembly.Schema.SecurityGroupContextQuery
Gogithub.com/aws/aws-cdk-go/awscdk/v2/cloudassemblyschema#SecurityGroupContextQuery
Javasoftware.amazon.awscdk.cloudassembly.schema.SecurityGroupContextQuery
Pythonaws_cdk.cloud_assembly_schema.SecurityGroupContextQuery
TypeScript (source)aws-cdk-lib » 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 { cloud_assembly_schema } from 'aws-cdk-lib';
const securityGroupContextQuery: cloud_assembly_schema.SecurityGroupContextQuery = {
  account: 'account',
  region: 'region',

  // the properties below are optional
  lookupRoleArn: 'lookupRoleArn',
  securityGroupId: 'securityGroupId',
  securityGroupName: 'securityGroupName',
  vpcId: 'vpcId',
};

Properties

NameTypeDescription
accountstringQuery account.
regionstringQuery region.
lookupRoleArn?stringThe ARN of the role that should be used to look up the missing values.
securityGroupId?stringSecurity group id.
securityGroupName?stringSecurity group name.
vpcId?stringVPC 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.