AccessProfileReference Struct Added in v2.276.0
A reference to a AccessProfile resource.
Example
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
# 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
// 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();
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"
};
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
accessProfileArnstringaccess_profile_arnstraccessProfileArnStringAccessProfileArnstringAccessProfileArn*stringrequired#The ARN of the AccessProfile resource.
The ProfileId of the AccessProfile resource.
The SpaceId of the AccessProfile resource.