CfnResourceAssociationProps Struct
Properties for defining a CfnResourceAssociation.
| Source |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_servicecatalogappregistry as servicecatalogappregistry } from 'aws-cdk-lib';
const cfnResourceAssociationProps: servicecatalogappregistry.CfnResourceAssociationProps = {
application: 'application',
resource: 'resource',
resourceType: 'resourceType',
};
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_servicecatalogappregistry as servicecatalogappregistry
cfn_resource_association_props = servicecatalogappregistry.CfnResourceAssociationProps(
application="application",
resource="resource",
resource_type="resourceType"
)
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.servicecatalogappregistry.*;
CfnResourceAssociationProps cfnResourceAssociationProps = CfnResourceAssociationProps.builder()
.application("application")
.resource("resource")
.resourceType("resourceType")
.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.Servicecatalogappregistry;
var cfnResourceAssociationProps = new CfnResourceAssociationProps {
Application = "application",
Resource = "resource",
ResourceType = "resourceType"
};
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{
Application: jsii.String("application"),
Resource: jsii.String("resource"),
ResourceType: jsii.String("resourceType"),
}
Properties
The name or ID of the application.
The name or ID of the resource of which the application will be associated.
resourceTypestringresource_typestrresourceTypeStringResourceTypestringResourceType*string required #The type of resource of which the application will be associated.