@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:50.577Z") @Stability(value=Stable) public class CfnCertificate extends CfnResource implements IInspectable
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();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnCertificate.Builder
A fluent builder for
CfnCertificate. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnCertificate(Construct scope,
String id,
CfnCertificateProps props)
Create a new `AWS::Transfer::Certificate`.
|
protected |
CfnCertificate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnCertificate(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getActiveDate()
An optional date that specifies when the certificate becomes active.
|
String |
getAttrArn()
The unique Amazon Resource Name (ARN) for the certificate.
|
String |
getAttrCertificateId()
An array of identifiers for the imported certificates.
|
String |
getAttrNotAfterDate()
The final date that the certificate is valid.
|
String |
getAttrNotBeforeDate()
The earliest date that the certificate is valid.
|
String |
getAttrSerial()
The serial number for the certificate.
|
String |
getAttrStatus()
The certificate can be either `ACTIVE` , `PENDING_ROTATION` , or `INACTIVE` .
|
String |
getAttrType()
If a private key has been specified for the certificate, its type is `CERTIFICATE_WITH_PRIVATE_KEY` .
|
String |
getCertificate()
The file name for the certificate.
|
String |
getCertificateChain()
The list of certificates that make up the chain for the certificate.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
The name or description that's used to identity the certificate.
|
String |
getInactiveDate()
An optional date that specifies when the certificate becomes inactive.
|
String |
getPrivateKey()
The file that contains the private key for the certificate that's being imported.
|
TagManager |
getTags()
Key-value pairs that can be used to group and search for certificates.
|
String |
getUsage()
Specifies whether this certificate is used for signing or encryption.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
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 |
setUsage(String value)
Specifies whether this certificate is used for signing or encryption.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnCertificate(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnCertificate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnCertificate(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnCertificateProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrCertificateId()
You use this identifier for working with profiles and partner profiles.
@Stability(value=Stable) @NotNull public String getAttrNotAfterDate()
@Stability(value=Stable) @NotNull public String getAttrNotBeforeDate()
@Stability(value=Stable) @NotNull public String getAttrSerial()
@Stability(value=Stable) @NotNull public String getAttrStatus()
PENDING_ROTATION means that this certificate will replace the current certificate when it expires.
@Stability(value=Stable) @NotNull public String getAttrType()
If there is no private key, the type is CERTIFICATE .
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getCertificate()
@Stability(value=Stable)
public void setCertificate(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getUsage()
@Stability(value=Stable)
public void setUsage(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getActiveDate()
@Stability(value=Stable)
public void setActiveDate(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getCertificateChain()
@Stability(value=Stable)
public void setCertificateChain(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getInactiveDate()
@Stability(value=Stable)
public void setInactiveDate(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getPrivateKey()
@Stability(value=Stable)
public void setPrivateKey(@Nullable
String value)
Copyright © 2023. All rights reserved.