Class CfnCertificate
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.transfer.CfnCertificate
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:35.909Z")
@Stability(Stable)
public class CfnCertificate
extends CfnResource
implements IInspectable
A CloudFormation
AWS::Transfer::Certificate
.
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();
-
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.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnCertificate
(Construct scope, String id, CfnCertificateProps props) Create a newAWS::Transfer::Certificate
.protected
CfnCertificate
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnCertificate
(software.amazon.jsii.JsiiObjectRef objRef) -
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()
Key-value pairs that can be used to group and search for certificates.getUsage()
Specifies whether this certificate is used for signing or encryption.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
Specifies whether this certificate is used for signing or encryption.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
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 Construct scope, @NotNull String id, @NotNull CfnCertificateProps props) Create a newAWS::Transfer::Certificate
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
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
Key-value pairs that can be used to group and search for certificates. -
getCertificate
The file name for the certificate. -
setCertificate
The file name for the certificate. -
getUsage
Specifies whether this certificate is used for signing or encryption. -
setUsage
Specifies whether this certificate is used for signing or encryption. -
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.
-