# ResourceSetProperty

The set of resources a support permit applies to.

Exactly one of AllResourcesInRegion or Resources must be provided.

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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" }
};
```

Golang:

```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

- `allResourcesInRegion`: any — Applies to all resources in the region.

- `resources`: string[] — An explicit list of resource ARNs.
