Class CfnEmailIdentity.DkimSigningAttributesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnEmailIdentity.DkimSigningAttributesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEmailIdentity.DkimSigningAttributesProperty>
- Enclosing interface:
CfnEmailIdentity.DkimSigningAttributesProperty
@Stability(Stable)
public static final class CfnEmailIdentity.DkimSigningAttributesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEmailIdentity.DkimSigningAttributesProperty>
A builder for
CfnEmailIdentity.DkimSigningAttributesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.domainSigningPrivateKey
(String domainSigningPrivateKey) domainSigningSelector
(String domainSigningSelector) nextSigningKeyLength
(String nextSigningKeyLength) Sets the value ofCfnEmailIdentity.DkimSigningAttributesProperty.getNextSigningKeyLength()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainSigningPrivateKey
@Stability(Stable) public CfnEmailIdentity.DkimSigningAttributesProperty.Builder domainSigningPrivateKey(String domainSigningPrivateKey) - Parameters:
domainSigningPrivateKey
- [Bring Your Own DKIM] A private key that's used to generate a DKIM signature. The private key must use 1024 or 2048-bit RSA encryption, and must be encoded using base64 encoding.Rather than embedding sensitive information directly in your CFN templates, we recommend you use dynamic parameters in the stack template to reference sensitive information that is stored and managed outside of CFN, such as in the AWS Systems Manager Parameter Store or AWS Secrets Manager.
For more information, see the Do not embed credentials in your templates best practice.
- Returns:
this
-
domainSigningSelector
@Stability(Stable) public CfnEmailIdentity.DkimSigningAttributesProperty.Builder domainSigningSelector(String domainSigningSelector) - Parameters:
domainSigningSelector
- [Bring Your Own DKIM] A string that's used to identify a public key in the DNS configuration for a domain.- Returns:
this
-
nextSigningKeyLength
@Stability(Stable) public CfnEmailIdentity.DkimSigningAttributesProperty.Builder nextSigningKeyLength(String nextSigningKeyLength) Sets the value ofCfnEmailIdentity.DkimSigningAttributesProperty.getNextSigningKeyLength()
- Parameters:
nextSigningKeyLength
- [Easy DKIM] The key length of the future DKIM key pair to be generated. This can be changed at most once per day.Valid Values:
RSA_1024_BIT | RSA_2048_BIT
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEmailIdentity.DkimSigningAttributesProperty>
- Returns:
- a new instance of
CfnEmailIdentity.DkimSigningAttributesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-