SecurityGroupContextQuery

class aws_cdk.cloud_assembly_schema.SecurityGroupContextQuery(*, account, region, lookup_role_arn=None, 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.

  • region (str) – Query region.

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

  • 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

ExampleMetadata:

fixture=_generated

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.

lookup_role_arn

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

Default:
  • None

region

Query region.

security_group_id

Security group id.

Default:
  • None

security_group_name

Security group name.

Default:
  • None

vpc_id

VPC ID.

Default:
  • None