CfnResourcePolicyProps

class aws_cdk.aws_kinesis.CfnResourcePolicyProps(*, resource_arn, resource_policy)

Bases: object

Properties for defining a CfnResourcePolicy.

Parameters:
  • resource_arn (str) – This is the name for the resource policy.

  • resource_policy (Any) – This is the description for the resource policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-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 import aws_kinesis as kinesis

# resource_policy: Any

cfn_resource_policy_props = kinesis.CfnResourcePolicyProps(
    resource_arn="resourceArn",
    resource_policy=resource_policy
)

Attributes

resource_arn

This is the name for the resource policy.

See:

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

resource_policy

This is the description for the resource policy.

See:

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