CfnResourcePolicyMixinProps

class aws_cdk.mixins_preview.aws_vpclattice.mixins.CfnResourcePolicyMixinProps(*, policy=None, resource_arn=None)

Bases: object

Properties for CfnResourcePolicyPropsMixin.

Parameters:
  • policy (Any) – The Amazon Resource Name (ARN) of the service network or service.

  • resource_arn (Optional[str]) – An IAM policy.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_vpclattice import mixins as vpclattice_mixins

# policy: Any

cfn_resource_policy_mixin_props = vpclattice_mixins.CfnResourcePolicyMixinProps(
    policy=policy,
    resource_arn="resourceArn"
)

Attributes

policy

The Amazon Resource Name (ARN) of the service network or service.

See:

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

resource_arn

An IAM policy.

See:

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