# AccessProfileReference

A reference to a AccessProfile resource.

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as interfaces_cloudwatch } from 'aws-cdk-lib/interfaces';
const accessProfileReference: interfaces_cloudwatch.AccessProfileReference = {
  accessProfileArn: 'accessProfileArn',
  profileId: 'profileId',
  spaceId: 'spaceId',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_cloudwatch as interfaces_cloudwatch

access_profile_reference = interfaces_cloudwatch.AccessProfileReference(
    access_profile_arn="accessProfileArn",
    profile_id="profileId",
    space_id="spaceId"
)
```

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.interfaces.cloudwatch.*;

AccessProfileReference accessProfileReference = AccessProfileReference.builder()
        .accessProfileArn("accessProfileArn")
        .profileId("profileId")
        .spaceId("spaceId")
        .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.Interfaces.CloudWatch;

var accessProfileReference = new AccessProfileReference {
    AccessProfileArn = "accessProfileArn",
    ProfileId = "profileId",
    SpaceId = "spaceId"
};
```

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"

accessProfileReference := &AccessProfileReference{
	AccessProfileArn: jsii.String("accessProfileArn"),
	ProfileId: jsii.String("profileId"),
	SpaceId: jsii.String("spaceId"),
}
```

## Properties

- `accessProfileArn`: string (required) — The ARN of the AccessProfile resource.

- `profileId`: string (required) — The ProfileId of the AccessProfile resource.

- `spaceId`: string (required) — The SpaceId of the AccessProfile resource.
