aws-cdk-lib.aws_budgets.CfnBudgetsAction.IamActionDefinitionProperty

interface IamActionDefinitionProperty

LanguageType name
.NETAmazon.CDK.AWS.Budgets.CfnBudgetsAction.IamActionDefinitionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsbudgets#CfnBudgetsAction_IamActionDefinitionProperty
Javasoftware.amazon.awscdk.services.budgets.CfnBudgetsAction.IamActionDefinitionProperty
Pythonaws_cdk.aws_budgets.CfnBudgetsAction.IamActionDefinitionProperty
TypeScript aws-cdk-lib » 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 { aws_budgets as budgets } from 'aws-cdk-lib';
const iamActionDefinitionProperty: budgets.CfnBudgetsAction.IamActionDefinitionProperty = {
  policyArn: 'policyArn',

  // the properties below are optional
  groups: ['groups'],
  roles: ['roles'],
  users: ['users'],
};

Properties

NameTypeDescription
policyArnstringThe 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.