interface CfnPermissionProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ACMPCA.CfnPermissionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsacmpca#CfnPermissionProps |
Java | software.amazon.awscdk.services.acmpca.CfnPermissionProps |
Python | aws_cdk.aws_acmpca.CfnPermissionProps |
TypeScript | aws-cdk-lib » aws_acmpca » CfnPermissionProps |
Properties for defining a CfnPermission
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-permission.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_acmpca as acmpca } from 'aws-cdk-lib';
const cfnPermissionProps: acmpca.CfnPermissionProps = {
actions: ['actions'],
certificateAuthorityArn: 'certificateAuthorityArn',
principal: 'principal',
// the properties below are optional
sourceAccount: 'sourceAccount',
};
Properties
Name | Type | Description |
---|---|---|
actions | string[] | The private CA actions that can be performed by the designated AWS service. |
certificate | string | The Amazon Resource Number (ARN) of the private CA from which the permission was issued. |
principal | string | The AWS service or entity that holds the permission. |
source | string | The ID of the account that assigned the permission. |
actions
Type:
string[]
The private CA actions that can be performed by the designated AWS service.
Supported actions are IssueCertificate
, GetCertificate
, and ListPermissions
.
certificateAuthorityArn
Type:
string
The Amazon Resource Number (ARN) of the private CA from which the permission was issued.
principal
Type:
string
The AWS service or entity that holds the permission.
At this time, the only valid principal is acm.amazonaws.com
.
sourceAccount?
Type:
string
(optional)
The ID of the account that assigned the permission.