SecurityGroupContextQuery

class aws_cdk.cloud_assembly_schema.SecurityGroupContextQuery(*, account, lookup_role_arn=None, region, security_group_id=None, security_group_name=None, vpc_id=None)

Bases: object

Query input for looking up a security group.

Parameters
  • account (str) – Query account.

  • lookup_role_arn (Optional[str]) – The ARN of the role that should be used to look up the missing values. Default: - None

  • region (str) – Query region.

  • security_group_id (Optional[str]) – Security group id. Default: - None

  • security_group_name (Optional[str]) – Security group name. Default: - None

  • vpc_id (Optional[str]) – VPC ID. Default: - None

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.cloud_assembly_schema as cloud_assembly_schema

security_group_context_query = cloud_assembly_schema.SecurityGroupContextQuery(
    account="account",
    region="region",

    # the properties below are optional
    lookup_role_arn="lookupRoleArn",
    security_group_id="securityGroupId",
    security_group_name="securityGroupName",
    vpc_id="vpcId"
)

Attributes

account

Query account.

Return type

str

lookup_role_arn

The ARN of the role that should be used to look up the missing values.

Default
  • None

Return type

Optional[str]

region

Query region.

Return type

str

security_group_id

Security group id.

Default
  • None

Return type

Optional[str]

security_group_name

Security group name.

Default
  • None

Return type

Optional[str]

vpc_id

VPC ID.

Default
  • None

Return type

Optional[str]