# ResourceStatementRequestProperty

Struct · External

Describes a resource statement.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const resourceStatementRequestProperty: ec2.CfnNetworkInsightsAccessScope.ResourceStatementRequestProperty = {
  resources: ['resources'],
  resourceTypes: ['resourceTypes'],
};
```

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_ec2 as ec2

resource_statement_request_property = ec2.CfnNetworkInsightsAccessScope.ResourceStatementRequestProperty(
    resources=["resources"],
    resource_types=["resourceTypes"]
)
```

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.ec2.*;

ResourceStatementRequestProperty resourceStatementRequestProperty = ResourceStatementRequestProperty.builder()
        .resources(List.of("resources"))
        .resourceTypes(List.of("resourceTypes"))
        .build();
```

C#:

```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.EC2;

var resourceStatementRequestProperty = new ResourceStatementRequestProperty {
    Resources = new [] { "resources" },
    ResourceTypes = new [] { "resourceTypes" }
};
```

Go:

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

resourceStatementRequestProperty := &ResourceStatementRequestProperty{
	Resources: []*string{
		jsii.String("resources"),
	},
	ResourceTypes: []*string{
		jsii.String("resourceTypes"),
	},
}
```

## Properties

- `resources`: string[] — The resources.

- `resourceTypes`: string[] — The resource types.
