@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:31.772Z") 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 .
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnAccount(Construct scope,
java.lang.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 |
---|---|
java.lang.String |
getAttrAccountId()
ID of the AWS account that owns the certificate.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.Object |
getExpiryEventsConfiguration()
Object containing expiration events options associated with an AWS account .
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.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, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnAccount(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnAccount(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnAccount(Construct scope, java.lang.String id, 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrAccountId()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.Object getExpiryEventsConfiguration()
For more information, see ExpiryEventsConfiguration in the API reference.
public void setExpiryEventsConfiguration(CfnAccount.ExpiryEventsConfigurationProperty value)
For more information, see ExpiryEventsConfiguration in the API reference.
public void setExpiryEventsConfiguration(IResolvable value)
For more information, see ExpiryEventsConfiguration in the API reference.