# CfnProfileResourceAssociationProps

Properties for defining a `CfnProfileResourceAssociation`.

Used as props by: [CfnProfileResourceAssociation](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_route53profiles.CfnProfileResourceAssociation.html)

- Source: Generated at build time
- Type last changed: v2.140.0 · 2 May 2024

## Example

TypeScript:

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

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

```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();
```

C# / .NET:

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

Golang:

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

- `name`: string (required) — Name of the Profile resource association.

- `profileId`: string (required) — Profile ID of the Profile that the resources are associated with.

- `resourceArn`: string (required) — The Amazon Resource Name (ARN) of the resource association.

- `resourceProperties`: string — If the DNS resource is a DNS Firewall rule group, this indicates the priority.
