interface IamActionDefinitionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Budgets.CfnBudgetsAction.IamActionDefinitionProperty |
Java | software.amazon.awscdk.services.budgets.CfnBudgetsAction.IamActionDefinitionProperty |
Python | aws_cdk.aws_budgets.CfnBudgetsAction.IamActionDefinitionProperty |
TypeScript | @aws-cdk/aws-budgets » CfnBudgetsAction » IamActionDefinitionProperty |
The AWS Identity and Access Management ( IAM ) action definition details.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as budgets from '@aws-cdk/aws-budgets';
const iamActionDefinitionProperty: budgets.CfnBudgetsAction.IamActionDefinitionProperty = {
policyArn: 'policyArn',
// the properties below are optional
groups: ['groups'],
roles: ['roles'],
users: ['users'],
};
Properties
Name | Type | Description |
---|---|---|
policy | string | The Amazon Resource Name (ARN) of the policy to be attached. |
groups? | string[] | A list of groups to be attached. |
roles? | string[] | A list of roles to be attached. |
users? | string[] | A list of users to be attached. |
policyArn
Type:
string
The Amazon Resource Name (ARN) of the policy to be attached.
groups?
Type:
string[]
(optional)
A list of groups to be attached.
There must be at least one group.
roles?
Type:
string[]
(optional)
A list of roles to be attached.
There must be at least one role.
users?
Type:
string[]
(optional)
A list of users to be attached.
There must be at least one user.