Class CfnCertificateProvider
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.iot.CfnCertificateProvider
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,ICertificateProviderRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:38.135Z")
@Stability(Stable)
public class CfnCertificateProvider
extends CfnResource
implements IInspectable, ICertificateProviderRef, ITaggableV2
Creates a certificate provider.
AWS IoT Core certificate provider lets you customize how to sign a certificate signing request (CSR) in fleet provisioning. For more information, see Self-managed certificate signing using AWS IoT Core certificate provider from the AWS IoT Core Developer Guide .
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.iot.*;
CfnCertificateProvider cfnCertificateProvider = CfnCertificateProvider.Builder.create(this, "MyCfnCertificateProvider")
.accountDefaultForOperations(List.of("accountDefaultForOperations"))
.lambdaFunctionArn("lambdaFunctionArn")
// the properties below are optional
.certificateProviderName("certificateProviderName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.iot.ICertificateProviderRef
ICertificateProviderRef.Jsii$Default, ICertificateProviderRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnCertificateProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCertificateProvider(software.amazon.jsii.JsiiObjectRef objRef) CfnCertificateProvider(software.constructs.Construct scope, String id, CfnCertificateProviderProps props) Create a newAWS::IoT::CertificateProvider. -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic ICertificateProviderReffromCertificateProviderArn(software.constructs.Construct scope, String id, String arn) Creates a new ICertificateProviderRef from an ARN.static ICertificateProviderReffromCertificateProviderName(software.constructs.Construct scope, String id, String certificateProviderName) Creates a new ICertificateProviderRef from a certificateProviderName.A list of the operations that the certificate provider will use to generate certificates.Returns the Amazon Resource Name (ARN) for the certificate.Tag Manager which manages the tags for this resource.The name of the certificate provider.A reference to a CertificateProvider resource.The ARN of the Lambda function.getTags()Metadata that can be used to manage the certificate provider.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnCertificateProvider.renderProperties(Map<String, Object> props) voidsetAccountDefaultForOperations(List<String> value) A list of the operations that the certificate provider will use to generate certificates.voidsetCertificateProviderName(String value) The name of the certificate provider.voidsetLambdaFunctionArn(String value) The ARN of the Lambda function.voidMetadata that can be used to manage the certificate provider.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnCertificateProvider
protected CfnCertificateProvider(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCertificateProvider
protected CfnCertificateProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCertificateProvider
@Stability(Stable) public CfnCertificateProvider(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnCertificateProviderProps props) Create a newAWS::IoT::CertificateProvider.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForCertificateProvider
@Stability(Stable) @NotNull public static String arnForCertificateProvider(@NotNull ICertificateProviderRef resource) - Parameters:
resource- This parameter is required.
-
fromCertificateProviderArn
@Stability(Stable) @NotNull public static ICertificateProviderRef fromCertificateProviderArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new ICertificateProviderRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromCertificateProviderName
@Stability(Stable) @NotNull public static ICertificateProviderRef fromCertificateProviderName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String certificateProviderName) Creates a new ICertificateProviderRef from a certificateProviderName.- Parameters:
scope- This parameter is required.id- This parameter is required.certificateProviderName- This parameter is required.
-
isCfnCertificateProvider
Checks whether the given object is a CfnCertificateProvider.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
Returns the Amazon Resource Name (ARN) for the certificate. For example:.{ "Fn::GetAtt": ["MyCertificateProvider", "Arn"] }A value similar to the following is returned:
arn:aws:iot:ap-southeast-2:123456789012:certprovider/my-certificate-provider -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCertificateProviderRef
A reference to a CertificateProvider resource.- Specified by:
getCertificateProviderRefin interfaceICertificateProviderRef
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getAccountDefaultForOperations
A list of the operations that the certificate provider will use to generate certificates. -
setAccountDefaultForOperations
A list of the operations that the certificate provider will use to generate certificates. -
getLambdaFunctionArn
The ARN of the Lambda function. -
setLambdaFunctionArn
The ARN of the Lambda function. -
getCertificateProviderName
The name of the certificate provider. -
setCertificateProviderName
The name of the certificate provider. -
getTags
Metadata that can be used to manage the certificate provider. -
setTags
Metadata that can be used to manage the certificate provider.
-