interface AccountPolicyReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Logs.AccountPolicyReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#AccountPolicyReference |
Java | software.amazon.awscdk.services.logs.AccountPolicyReference |
Python | aws_cdk.aws_logs.AccountPolicyReference |
TypeScript | aws-cdk-lib » aws_logs » AccountPolicyReference |
A reference to a AccountPolicy resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
const accountPolicyReference: logs.AccountPolicyReference = {
accountId: 'accountId',
policyName: 'policyName',
policyType: 'policyType',
};
Properties
| Name | Type | Description |
|---|---|---|
| account | string | The AccountId of the AccountPolicy resource. |
| policy | string | The PolicyName of the AccountPolicy resource. |
| policy | string | The PolicyType of the AccountPolicy resource. |
accountId
Type:
string
The AccountId of the AccountPolicy resource.
policyName
Type:
string
The PolicyName of the AccountPolicy resource.
policyType
Type:
string
The PolicyType of the AccountPolicy resource.

.NET
Go
Java
Python
TypeScript