ScpActionDefinitionProperty Struct
The service control policies (SCP) action definition details.
| Source | |
|---|---|
| Type last changed |
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 scpActionDefinitionProperty: budgets.CfnBudgetsAction.ScpActionDefinitionProperty = {
policyId: 'policyId',
targetIds: ['targetIds'],
};
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
scp_action_definition_property = budgets.CfnBudgetsAction.ScpActionDefinitionProperty(
policy_id="policyId",
target_ids=["targetIds"]
)
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.*;
ScpActionDefinitionProperty scpActionDefinitionProperty = ScpActionDefinitionProperty.builder()
.policyId("policyId")
.targetIds(List.of("targetIds"))
.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 scpActionDefinitionProperty = new ScpActionDefinitionProperty {
PolicyId = "policyId",
TargetIds = new [] { "targetIds" }
};
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"
scpActionDefinitionProperty := &ScpActionDefinitionProperty{
PolicyId: jsii.String("policyId"),
TargetIds: []*string{
jsii.String("targetIds"),
},
}