Class CfnCodeSigningConfigProps.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnCodeSigningConfigProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCodeSigningConfigProps>
- Enclosing interface:
CfnCodeSigningConfigProps
@Stability(Stable)
public static final class CfnCodeSigningConfigProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCodeSigningConfigProps>
A builder for
CfnCodeSigningConfigProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallowedPublishers
(IResolvable allowedPublishers) Sets the value ofCfnCodeSigningConfigProps.getAllowedPublishers()
allowedPublishers
(CfnCodeSigningConfig.AllowedPublishersProperty allowedPublishers) Sets the value ofCfnCodeSigningConfigProps.getAllowedPublishers()
build()
Builds the configured instance.codeSigningPolicies
(IResolvable codeSigningPolicies) Sets the value ofCfnCodeSigningConfigProps.getCodeSigningPolicies()
codeSigningPolicies
(CfnCodeSigningConfig.CodeSigningPoliciesProperty codeSigningPolicies) Sets the value ofCfnCodeSigningConfigProps.getCodeSigningPolicies()
description
(String description) Sets the value ofCfnCodeSigningConfigProps.getDescription()
Sets the value ofCfnCodeSigningConfigProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedPublishers
@Stability(Stable) public CfnCodeSigningConfigProps.Builder allowedPublishers(IResolvable allowedPublishers) Sets the value ofCfnCodeSigningConfigProps.getAllowedPublishers()
- Parameters:
allowedPublishers
- List of allowed publishers. This parameter is required.- Returns:
this
-
allowedPublishers
@Stability(Stable) public CfnCodeSigningConfigProps.Builder allowedPublishers(CfnCodeSigningConfig.AllowedPublishersProperty allowedPublishers) Sets the value ofCfnCodeSigningConfigProps.getAllowedPublishers()
- Parameters:
allowedPublishers
- List of allowed publishers. This parameter is required.- Returns:
this
-
codeSigningPolicies
@Stability(Stable) public CfnCodeSigningConfigProps.Builder codeSigningPolicies(IResolvable codeSigningPolicies) Sets the value ofCfnCodeSigningConfigProps.getCodeSigningPolicies()
- Parameters:
codeSigningPolicies
- The code signing policy controls the validation failure action for signature mismatch or expiry.- Returns:
this
-
codeSigningPolicies
@Stability(Stable) public CfnCodeSigningConfigProps.Builder codeSigningPolicies(CfnCodeSigningConfig.CodeSigningPoliciesProperty codeSigningPolicies) Sets the value ofCfnCodeSigningConfigProps.getCodeSigningPolicies()
- Parameters:
codeSigningPolicies
- The code signing policy controls the validation failure action for signature mismatch or expiry.- Returns:
this
-
description
Sets the value ofCfnCodeSigningConfigProps.getDescription()
- Parameters:
description
- Code signing configuration description.- Returns:
this
-
tags
Sets the value ofCfnCodeSigningConfigProps.getTags()
- Parameters:
tags
- A list of tags to add to the code signing configuration.You must have the
lambda:TagResource
,lambda:UntagResource
, andlambda:ListTags
permissions for your IAM principal to manage the AWS CloudFormation stack. If you don't have these permissions, there might be unexpected behavior with stack-level tags propagating to the resource during resource creation and update.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCodeSigningConfigProps>
- Returns:
- a new instance of
CfnCodeSigningConfigProps
- Throws:
NullPointerException
- if any required attribute was not provided
-