ResourceStatementRequestProperty Struct
Describes a resource statement.
| 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_ec2 as ec2 } from 'aws-cdk-lib';
const resourceStatementRequestProperty: ec2.CfnNetworkInsightsAccessScope.ResourceStatementRequestProperty = {
resources: ['resources'],
resourceTypes: ['resourceTypes'],
};
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
// 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();
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
// 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
resourcesoptionalstring[]resourcesoptionaltyping.List[str]resourcesoptionalList<String>Resourcesoptionalstring[]Resourcesoptional*[]*string #The resources.
resourceTypesoptionalstring[]resource_typesoptionaltyping.List[str]resourceTypesoptionalList<String>ResourceTypesoptionalstring[]ResourceTypesoptional*[]*string #The resource types.