Class CfnTemplate.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnTemplate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate>
- Enclosing class:
CfnTemplate
@Stability(Stable)
public static final class CfnTemplate.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate>
A fluent builder for
CfnTemplate
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
connectorArn
(String connectorArn) The Amazon Resource Name (ARN) that was returned when you called CreateConnector .static CfnTemplate.Builder
definition
(IResolvable definition) Template configuration to define the information included in certificates.definition
(CfnTemplate.TemplateDefinitionProperty definition) Template configuration to define the information included in certificates.Name of the templates.reenrollAllCertificateHolders
(Boolean reenrollAllCertificateHolders) This setting allows the major version of a template to be increased automatically.reenrollAllCertificateHolders
(IResolvable reenrollAllCertificateHolders) This setting allows the major version of a template to be increased automatically.Metadata assigned to a template consisting of a key-value pair.
-
Method Details
-
create
@Stability(Stable) public static CfnTemplate.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnTemplate.Builder
.
-
connectorArn
The Amazon Resource Name (ARN) that was returned when you called CreateConnector .- Parameters:
connectorArn
- The Amazon Resource Name (ARN) that was returned when you called CreateConnector . This parameter is required.- Returns:
this
- See Also:
-
definition
Template configuration to define the information included in certificates.Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
- Parameters:
definition
- Template configuration to define the information included in certificates. This parameter is required.- Returns:
this
- See Also:
-
definition
@Stability(Stable) public CfnTemplate.Builder definition(CfnTemplate.TemplateDefinitionProperty definition) Template configuration to define the information included in certificates.Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
- Parameters:
definition
- Template configuration to define the information included in certificates. This parameter is required.- Returns:
this
- See Also:
-
name
Name of the templates.Template names must be unique.
- Parameters:
name
- Name of the templates. This parameter is required.- Returns:
this
- See Also:
-
reenrollAllCertificateHolders
@Stability(Stable) public CfnTemplate.Builder reenrollAllCertificateHolders(Boolean reenrollAllCertificateHolders) This setting allows the major version of a template to be increased automatically.All members of Active Directory groups that are allowed to enroll with a template will receive a new certificate issued using that template.
- Parameters:
reenrollAllCertificateHolders
- This setting allows the major version of a template to be increased automatically. This parameter is required.- Returns:
this
- See Also:
-
reenrollAllCertificateHolders
@Stability(Stable) public CfnTemplate.Builder reenrollAllCertificateHolders(IResolvable reenrollAllCertificateHolders) This setting allows the major version of a template to be increased automatically.All members of Active Directory groups that are allowed to enroll with a template will receive a new certificate issued using that template.
- Parameters:
reenrollAllCertificateHolders
- This setting allows the major version of a template to be increased automatically. This parameter is required.- Returns:
this
- See Also:
-
tags
Metadata assigned to a template consisting of a key-value pair.- Parameters:
tags
- Metadata assigned to a template consisting of a key-value pair. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate>
- Returns:
- a newly built instance of
CfnTemplate
.
-