Class CfnBudgetsAction.DefinitionProperty
The definition is where you specify all of the type-specific parameters.
Inheritance
System.Object
CfnBudgetsAction.DefinitionProperty
Implements
Namespace: Amazon.CDK.AWS.Budgets
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DefinitionProperty : Object, CfnBudgetsAction.IDefinitionProperty
Syntax (vb)
Public Class DefinitionProperty
Inherits Object
Implements CfnBudgetsAction.IDefinitionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 definitionProperty = new DefinitionProperty {
IamActionDefinition = new IamActionDefinitionProperty {
PolicyArn = "policyArn",
// the properties below are optional
Groups = new [] { "groups" },
Roles = new [] { "roles" },
Users = new [] { "users" }
},
ScpActionDefinition = new ScpActionDefinitionProperty {
PolicyId = "policyId",
TargetIds = new [] { "targetIds" }
},
SsmActionDefinition = new SsmActionDefinitionProperty {
InstanceIds = new [] { "instanceIds" },
Region = "region",
Subtype = "subtype"
}
};
Synopsis
Constructors
DefinitionProperty() |
Properties
IamActionDefinition | The AWS Identity and Access Management ( IAM ) action definition details. |
ScpActionDefinition | The service control policies (SCP) action definition details. |
SsmActionDefinition | The Amazon EC2 Systems Manager ( SSM ) action definition details. |
Constructors
DefinitionProperty()
public DefinitionProperty()
Properties
IamActionDefinition
The AWS Identity and Access Management ( IAM ) action definition details.
public object IamActionDefinition { get; set; }
Property Value
System.Object
Remarks
ScpActionDefinition
The service control policies (SCP) action definition details.
public object ScpActionDefinition { get; set; }
Property Value
System.Object
Remarks
SsmActionDefinition
The Amazon EC2 Systems Manager ( SSM ) action definition details.
public object SsmActionDefinition { get; set; }
Property Value
System.Object