Skip to content
v2.276.0

SsmActionDefinitionProperty Struct ​

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

Example ​

ts
// 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 ssmActionDefinitionProperty: budgets.CfnBudgetsAction.SsmActionDefinitionProperty = {
  instanceIds: ['instanceIds'],
  region: 'region',
  subtype: 'subtype',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_budgets as budgets

ssm_action_definition_property = budgets.CfnBudgetsAction.SsmActionDefinitionProperty(
    instance_ids=["instanceIds"],
    region="region",
    subtype="subtype"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.budgets.*;

SsmActionDefinitionProperty ssmActionDefinitionProperty = SsmActionDefinitionProperty.builder()
        .instanceIds(List.of("instanceIds"))
        .region("region")
        .subtype("subtype")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Budgets;

var ssmActionDefinitionProperty = new SsmActionDefinitionProperty {
    InstanceIds = new [] { "instanceIds" },
    Region = "region",
    Subtype = "subtype"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

ssmActionDefinitionProperty := &SsmActionDefinitionProperty{
	InstanceIds: []*string{
		jsii.String("instanceIds"),
	},
	Region: jsii.String("region"),
	Subtype: jsii.String("subtype"),
}

Properties ​

instanceIdsstring[]instance_idstyping.List[str]instanceIdsList<String>InstanceIdsstring[]InstanceIds*[]*stringrequired#
The EC2 and RDS instance IDs.
regionstringregionstrregionStringRegionstringRegion*stringrequired#
The Region to run the ( SSM ) document.
subtypestringsubtypestrsubtypeStringSubtypestringSubtype*stringrequired#
The action subType.