interface ResourcePolicyProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.RUM.CfnAppMonitor.ResourcePolicyProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsrum#CfnAppMonitor_ResourcePolicyProperty |
![]() | software.amazon.awscdk.services.rum.CfnAppMonitor.ResourcePolicyProperty |
![]() | aws_cdk.aws_rum.CfnAppMonitor.ResourcePolicyProperty |
![]() | aws-cdk-lib » aws_rum » CfnAppMonitor » ResourcePolicyProperty |
A structure that defines resource policy attached to your app monitor.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rum as rum } from 'aws-cdk-lib';
const resourcePolicyProperty: rum.CfnAppMonitor.ResourcePolicyProperty = {
policyDocument: 'policyDocument',
// the properties below are optional
policyRevisionId: 'policyRevisionId',
};
Properties
Name | Type | Description |
---|---|---|
policy | string | The JSON to use as the resource policy. |
policy | string | A string value that you can use to conditionally update your policy. |
policyDocument
Type:
string
The JSON to use as the resource policy.
The document can be up to 4 KB in size.
policyRevisionId?
Type:
string
(optional)
A string value that you can use to conditionally update your policy.
You can provide the revision ID of your existing policy to make mutating requests against that policy.
When you assign a policy revision ID, then later requests about that policy will be rejected with an InvalidPolicyRevisionIdException error if they don't provide the correct current revision ID.