CfnResourceAssociationProps Struct
Properties for defining a CfnResourceAssociation.
| 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_ram as ram } from 'aws-cdk-lib';
const cfnResourceAssociationProps: ram.CfnResourceAssociationProps = {
resourceArn: 'resourceArn',
resourceShareArn: 'resourceShareArn',
};
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_ram as ram
cfn_resource_association_props = ram.CfnResourceAssociationProps(
resource_arn="resourceArn",
resource_share_arn="resourceShareArn"
)
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.ram.*;
CfnResourceAssociationProps cfnResourceAssociationProps = CfnResourceAssociationProps.builder()
.resourceArn("resourceArn")
.resourceShareArn("resourceShareArn")
.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.RAM;
var cfnResourceAssociationProps = new CfnResourceAssociationProps {
ResourceArn = "resourceArn",
ResourceShareArn = "resourceShareArn"
};
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"
cfnResourceAssociationProps := &CfnResourceAssociationProps{
ResourceArn: jsii.String("resourceArn"),
ResourceShareArn: jsii.String("resourceShareArn"),
}
Properties
Specifies the Amazon Resource Name (ARN) of the resource to associate with the resource share.