Skip to content
v2.278.0

CfnProfileResourceAssociationProps Struct ​

Properties for defining a CfnProfileResourceAssociation.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53profiles as route53profiles } from 'aws-cdk-lib';
const cfnProfileResourceAssociationProps: route53profiles.CfnProfileResourceAssociationProps = {
  name: 'name',
  profileId: 'profileId',
  resourceArn: 'resourceArn',

  // the properties below are optional
  resourceProperties: 'resourceProperties',
};
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_route53profiles as route53profiles

cfn_profile_resource_association_props = route53profiles.CfnProfileResourceAssociationProps(
    name="name",
    profile_id="profileId",
    resource_arn="resourceArn",

    # the properties below are optional
    resource_properties="resourceProperties"
)
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.route53profiles.*;

CfnProfileResourceAssociationProps cfnProfileResourceAssociationProps = CfnProfileResourceAssociationProps.builder()
        .name("name")
        .profileId("profileId")
        .resourceArn("resourceArn")

        // the properties below are optional
        .resourceProperties("resourceProperties")
        .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.Route53Profiles;

var cfnProfileResourceAssociationProps = new CfnProfileResourceAssociationProps {
    Name = "name",
    ProfileId = "profileId",
    ResourceArn = "resourceArn",

    // the properties below are optional
    ResourceProperties = "resourceProperties"
};
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"

cfnProfileResourceAssociationProps := &CfnProfileResourceAssociationProps{
	Name: jsii.String("name"),
	ProfileId: jsii.String("profileId"),
	ResourceArn: jsii.String("resourceArn"),

	// the properties below are optional
	ResourceProperties: jsii.String("resourceProperties"),
}

Properties ​

namestringnamestrnameStringNamestringName*string required #
Name of the Profile resource association.
profileIdstringprofile_idstrprofileIdStringProfileIdstringProfileId*string required #
Profile ID of the Profile that the resources are associated with.
resourceArnstringresource_arnstrresourceArnStringResourceArnstringResourceArn*string required #
The Amazon Resource Name (ARN) of the resource association.
resourcePropertiesoptionalstringresource_propertiesoptionalstrresourcePropertiesoptionalStringResourcePropertiesoptionalstringResourcePropertiesoptional*string #
If the DNS resource is a DNS Firewall rule group, this indicates the priority.