Interface CfnPermissionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPermissionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-15T10:24:53.671Z")
@Stability(Stable)
public interface CfnPermissionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPermission
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.acmpca.*; CfnPermissionProps cfnPermissionProps = CfnPermissionProps.builder() .actions(List.of("actions")) .certificateAuthorityArn("certificateAuthorityArn") .principal("principal") // the properties below are optional .sourceAccount("sourceAccount") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPermissionProps
static final class
An implementation forCfnPermissionProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPermissionProps.Builder
builder()
The private CA actions that can be performed by the designated AWS service.The Amazon Resource Number (ARN) of the private CA from which the permission was issued.The AWS service or entity that holds the permission.default String
The ID of the account that assigned the permission.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActions
The private CA actions that can be performed by the designated AWS service.Supported actions are
IssueCertificate
,GetCertificate
, andListPermissions
.- See Also:
-
getCertificateAuthorityArn
The Amazon Resource Number (ARN) of the private CA from which the permission was issued.- See Also:
-
getPrincipal
The AWS service or entity that holds the permission.At this time, the only valid principal is
acm.amazonaws.com
.- See Also:
-
getSourceAccount
The ID of the account that assigned the permission.- See Also:
-
builder
- Returns:
- a
CfnPermissionProps.Builder
ofCfnPermissionProps
-