aws-cdk-lib.aws_budgets.CfnBudgetsAction.DefinitionProperty

interface DefinitionProperty

LanguageType name
.NETAmazon.CDK.AWS.Budgets.CfnBudgetsAction.DefinitionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsbudgets#CfnBudgetsAction_DefinitionProperty
Javasoftware.amazon.awscdk.services.budgets.CfnBudgetsAction.DefinitionProperty
Pythonaws_cdk.aws_budgets.CfnBudgetsAction.DefinitionProperty
TypeScript aws-cdk-lib » aws_budgets » CfnBudgetsAction » DefinitionProperty

The definition is where you specify all of the type-specific parameters.

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 definitionProperty: budgets.CfnBudgetsAction.DefinitionProperty = {
  iamActionDefinition: {
    policyArn: 'policyArn',

    // the properties below are optional
    groups: ['groups'],
    roles: ['roles'],
    users: ['users'],
  },
  scpActionDefinition: {
    policyId: 'policyId',
    targetIds: ['targetIds'],
  },
  ssmActionDefinition: {
    instanceIds: ['instanceIds'],
    region: 'region',
    subtype: 'subtype',
  },
};

Properties

NameTypeDescription
iamActionDefinition?IResolvable | IamActionDefinitionPropertyThe AWS Identity and Access Management ( IAM ) action definition details.
scpActionDefinition?IResolvable | ScpActionDefinitionPropertyThe service control policies (SCP) action definition details.
ssmActionDefinition?IResolvable | SsmActionDefinitionPropertyThe Amazon EC2 Systems Manager ( SSM ) action definition details.

iamActionDefinition?

Type: IResolvable | IamActionDefinitionProperty (optional)

The AWS Identity and Access Management ( IAM ) action definition details.


scpActionDefinition?

Type: IResolvable | ScpActionDefinitionProperty (optional)

The service control policies (SCP) action definition details.


ssmActionDefinition?

Type: IResolvable | SsmActionDefinitionProperty (optional)

The Amazon EC2 Systems Manager ( SSM ) action definition details.