CfnAuthPolicyProps

class aws_cdk.aws_vpclattice.CfnAuthPolicyProps(*, policy, resource_identifier)

Bases: object

Properties for defining a CfnAuthPolicy.

Parameters:
  • policy (Any) – The auth policy.

  • resource_identifier (str) – The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-authpolicy.html

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.aws_vpclattice as vpclattice

# policy: Any

cfn_auth_policy_props = vpclattice.CfnAuthPolicyProps(
    policy=policy,
    resource_identifier="resourceIdentifier"
)

Attributes

policy

The auth policy.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-authpolicy.html#cfn-vpclattice-authpolicy-policy

resource_identifier

The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-authpolicy.html#cfn-vpclattice-authpolicy-resourceidentifier