Skip to content
v2.278.0

ActionSetProperty Struct ​

The set of actions a support permit grants.

Exactly one of AllActions or Actions must be provided.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_supportauthz as supportauthz } from 'aws-cdk-lib';

declare const allActions: any;
const actionSetProperty: supportauthz.CfnSupportPermit.ActionSetProperty = {
  actions: ['actions'],
  allActions: allActions,
};
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_supportauthz as supportauthz

# all_actions: Any

action_set_property = supportauthz.CfnSupportPermit.ActionSetProperty(
    actions=["actions"],
    all_actions=all_actions
)
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.supportauthz.*;

Object allActions;

ActionSetProperty actionSetProperty = ActionSetProperty.builder()
        .actions(List.of("actions"))
        .allActions(allActions)
        .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.SupportAuthZ;

var allActions;

var actionSetProperty = new ActionSetProperty {
    Actions = new [] { "actions" },
    AllActions = allActions
};
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"

var allActions interface{}

actionSetProperty := &ActionSetProperty{
	Actions: []*string{
		jsii.String("actions"),
	},
	AllActions: allActions,
}

Properties ​

actionsoptionalstring[]actionsoptionaltyping.List[str]actionsoptionalList<String>Actionsoptionalstring[]Actionsoptional*[]*string #
An explicit list of actions to grant.
allActionsoptionalanyall_actionsoptionalAnyallActionsoptionalObjectAllActionsoptionalobjectAllActionsoptionalinterface{} #
Grants all actions.