Skip to content
v2.278.0

ResourceSetProperty Struct ​

The set of resources a support permit applies to.

Exactly one of AllResourcesInRegion or Resources 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 allResourcesInRegion: any;
const resourceSetProperty: supportauthz.CfnSupportPermit.ResourceSetProperty = {
  allResourcesInRegion: allResourcesInRegion,
  resources: ['resources'],
};
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_resources_in_region: Any

resource_set_property = supportauthz.CfnSupportPermit.ResourceSetProperty(
    all_resources_in_region=all_resources_in_region,
    resources=["resources"]
)
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 allResourcesInRegion;

ResourceSetProperty resourceSetProperty = ResourceSetProperty.builder()
        .allResourcesInRegion(allResourcesInRegion)
        .resources(List.of("resources"))
        .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 allResourcesInRegion;

var resourceSetProperty = new ResourceSetProperty {
    AllResourcesInRegion = allResourcesInRegion,
    Resources = new [] { "resources" }
};
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 allResourcesInRegion interface{}

resourceSetProperty := &ResourceSetProperty{
	AllResourcesInRegion: allResourcesInRegion,
	Resources: []*string{
		jsii.String("resources"),
	},
}

Properties ​

allResourcesInRegionoptionalanyall_resources_in_regionoptionalAnyallResourcesInRegionoptionalObjectAllResourcesInRegionoptionalobjectAllResourcesInRegionoptionalinterface{} #
Applies to all resources in the region.
resourcesoptionalstring[]resourcesoptionaltyping.List[str]resourcesoptionalList<String>Resourcesoptionalstring[]Resourcesoptional*[]*string #
An explicit list of resource ARNs.