AccountPolicyReference

class aws_cdk.aws_logs.AccountPolicyReference(*, account_id, policy_name, policy_type)

Bases: object

A reference to a AccountPolicy resource.

Parameters:
  • account_id (str) – The AccountId of the AccountPolicy resource.

  • policy_name (str) – The PolicyName of the AccountPolicy resource.

  • policy_type (str) – The PolicyType of the AccountPolicy resource.

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_logs as logs

account_policy_reference = logs.AccountPolicyReference(
    account_id="accountId",
    policy_name="policyName",
    policy_type="policyType"
)

Attributes

account_id

The AccountId of the AccountPolicy resource.

policy_name

The PolicyName of the AccountPolicy resource.

policy_type

The PolicyType of the AccountPolicy resource.