@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-07-09T01:30:44.816Z") @Stability(value=Stable) public class CfnAccount extends CfnResource implements IInspectable
The AWS::CertificateManager::Account resource defines the expiry event configuration that determines the number of days prior to expiry when ACM starts generating EventBridge events.
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.certificatemanager.*;
CfnAccount cfnAccount = CfnAccount.Builder.create(this, "MyCfnAccount")
.expiryEventsConfiguration(ExpiryEventsConfigurationProperty.builder()
.daysBeforeExpiry(123)
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnAccount.Builder
A fluent builder for
CfnAccount. |
static interface |
CfnAccount.ExpiryEventsConfigurationProperty
Object containing expiration events options associated with an AWS account .
|
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 |
|---|---|
|
CfnAccount(Construct scope,
String id,
CfnAccountProps props)
Create a new `AWS::CertificateManager::Account`.
|
protected |
CfnAccount(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnAccount(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrAccountId()
ID of the AWS account that owns the certificate.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getExpiryEventsConfiguration()
Object containing expiration events options associated with an AWS account .
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setExpiryEventsConfiguration(CfnAccount.ExpiryEventsConfigurationProperty value)
Object containing expiration events options associated with an AWS account .
|
void |
setExpiryEventsConfiguration(IResolvable value)
Object containing expiration events options associated with an AWS account .
|
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 CfnAccount(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnAccount(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnAccount(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnAccountProps 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 getAttrAccountId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getExpiryEventsConfiguration()
For more information, see ExpiryEventsConfiguration in the API reference.
@Stability(value=Stable)
public void setExpiryEventsConfiguration(@NotNull
CfnAccount.ExpiryEventsConfigurationProperty value)
For more information, see ExpiryEventsConfiguration in the API reference.
@Stability(value=Stable)
public void setExpiryEventsConfiguration(@NotNull
IResolvable value)
For more information, see ExpiryEventsConfiguration in the API reference.
Copyright © 2022. All rights reserved.