Class CfnCertificate
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.transfer.CfnCertificate
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-19T18:01:43.760Z")
@Stability(Stable)
public class CfnCertificate
extends CfnResource
implements IInspectable, ITaggable
Imports the signing and encryption certificates that you need to create local (AS2) profiles and partner profiles.
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.transfer.*; CfnCertificate cfnCertificate = CfnCertificate.Builder.create(this, "MyCfnCertificate") .certificate("certificate") .usage("usage") // the properties below are optional .activeDate("activeDate") .certificateChain("certificateChain") .description("description") .inactiveDate("inactiveDate") .privateKey("privateKey") .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.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnCertificate
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnCertificate
(software.amazon.jsii.JsiiObjectRef objRef) CfnCertificate
(software.constructs.Construct scope, String id, CfnCertificateProps props) -
Method Summary
Modifier and TypeMethodDescriptionAn optional date that specifies when the certificate becomes active.The unique Amazon Resource Name (ARN) for the certificate.An array of identifiers for the imported certificates.The final date that the certificate is valid.The earliest date that the certificate is valid.The serial number for the certificate.The certificate can be eitherACTIVE
,PENDING_ROTATION
, orINACTIVE
.If a private key has been specified for the certificate, its type isCERTIFICATE_WITH_PRIVATE_KEY
.The file name for the certificate.The list of certificates that make up the chain for the certificate.The name or description that's used to identity the certificate.An optional date that specifies when the certificate becomes inactive.The file that contains the private key for the certificate that's being imported.getTags()
Tag Manager which manages the tags for this resource.Key-value pairs that can be used to group and search for certificates.getUsage()
Specifies how this certificate is used.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setActiveDate
(String value) An optional date that specifies when the certificate becomes active.void
setCertificate
(String value) The file name for the certificate.void
setCertificateChain
(String value) The list of certificates that make up the chain for the certificate.void
setDescription
(String value) The name or description that's used to identity the certificate.void
setInactiveDate
(String value) An optional date that specifies when the certificate becomes inactive.void
setPrivateKey
(String value) The file that contains the private key for the certificate that's being imported.void
setTagsRaw
(List<CfnTag> value) Key-value pairs that can be used to group and search for certificates.void
Specifies how this certificate is used.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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
-
CfnCertificate
protected CfnCertificate(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCertificate
protected CfnCertificate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCertificate
@Stability(Stable) public CfnCertificate(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnCertificateProps props) - 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The unique Amazon Resource Name (ARN) for the certificate. -
getAttrCertificateId
An array of identifiers for the imported certificates.You use this identifier for working with profiles and partner profiles.
-
getAttrNotAfterDate
The final date that the certificate is valid. -
getAttrNotBeforeDate
The earliest date that the certificate is valid. -
getAttrSerial
The serial number for the certificate. -
getAttrStatus
The certificate can be eitherACTIVE
,PENDING_ROTATION
, orINACTIVE
.PENDING_ROTATION
means that this certificate will replace the current certificate when it expires. -
getAttrType
If a private key has been specified for the certificate, its type isCERTIFICATE_WITH_PRIVATE_KEY
.If there is no private key, the type is
CERTIFICATE
. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getCertificate
The file name for the certificate. -
setCertificate
The file name for the certificate. -
getUsage
Specifies how this certificate is used.It can be used in the following ways:.
-
setUsage
Specifies how this certificate is used.It can be used in the following ways:.
-
getActiveDate
An optional date that specifies when the certificate becomes active. -
setActiveDate
An optional date that specifies when the certificate becomes active. -
getCertificateChain
The list of certificates that make up the chain for the certificate. -
setCertificateChain
The list of certificates that make up the chain for the certificate. -
getDescription
The name or description that's used to identity the certificate. -
setDescription
The name or description that's used to identity the certificate. -
getInactiveDate
An optional date that specifies when the certificate becomes inactive. -
setInactiveDate
An optional date that specifies when the certificate becomes inactive. -
getPrivateKey
The file that contains the private key for the certificate that's being imported. -
setPrivateKey
The file that contains the private key for the certificate that's being imported. -
getTagsRaw
Key-value pairs that can be used to group and search for certificates. -
setTagsRaw
Key-value pairs that can be used to group and search for certificates.
-