Class CfnCodeSigningConfigMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnCodeSigningConfigMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCodeSigningConfigMixinProps>
- Enclosing interface:
CfnCodeSigningConfigMixinProps
@Stability(Stable)
public static final class CfnCodeSigningConfigMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCodeSigningConfigMixinProps>
A builder for
CfnCodeSigningConfigMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedPublishers(CfnCodeSigningConfigPropsMixin.AllowedPublishersProperty allowedPublishers) Sets the value ofCfnCodeSigningConfigMixinProps.getAllowedPublishers()allowedPublishers(IResolvable allowedPublishers) Sets the value ofCfnCodeSigningConfigMixinProps.getAllowedPublishers()build()Builds the configured instance.codeSigningPolicies(CfnCodeSigningConfigPropsMixin.CodeSigningPoliciesProperty codeSigningPolicies) Sets the value ofCfnCodeSigningConfigMixinProps.getCodeSigningPolicies()codeSigningPolicies(IResolvable codeSigningPolicies) Sets the value ofCfnCodeSigningConfigMixinProps.getCodeSigningPolicies()description(String description) Sets the value ofCfnCodeSigningConfigMixinProps.getDescription()Sets the value ofCfnCodeSigningConfigMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedPublishers
@Stability(Stable) public CfnCodeSigningConfigMixinProps.Builder allowedPublishers(IResolvable allowedPublishers) Sets the value ofCfnCodeSigningConfigMixinProps.getAllowedPublishers()- Parameters:
allowedPublishers- List of allowed publishers.- Returns:
this
-
allowedPublishers
@Stability(Stable) public CfnCodeSigningConfigMixinProps.Builder allowedPublishers(CfnCodeSigningConfigPropsMixin.AllowedPublishersProperty allowedPublishers) Sets the value ofCfnCodeSigningConfigMixinProps.getAllowedPublishers()- Parameters:
allowedPublishers- List of allowed publishers.- Returns:
this
-
codeSigningPolicies
@Stability(Stable) public CfnCodeSigningConfigMixinProps.Builder codeSigningPolicies(IResolvable codeSigningPolicies) Sets the value ofCfnCodeSigningConfigMixinProps.getCodeSigningPolicies()- Parameters:
codeSigningPolicies- The code signing policy controls the validation failure action for signature mismatch or expiry.- Returns:
this
-
codeSigningPolicies
@Stability(Stable) public CfnCodeSigningConfigMixinProps.Builder codeSigningPolicies(CfnCodeSigningConfigPropsMixin.CodeSigningPoliciesProperty codeSigningPolicies) Sets the value ofCfnCodeSigningConfigMixinProps.getCodeSigningPolicies()- Parameters:
codeSigningPolicies- The code signing policy controls the validation failure action for signature mismatch or expiry.- Returns:
this
-
description
Sets the value ofCfnCodeSigningConfigMixinProps.getDescription()- Parameters:
description- Code signing configuration description.- Returns:
this
-
tags
Sets the value ofCfnCodeSigningConfigMixinProps.getTags()- Parameters:
tags- A list of tags to add to the code signing configuration.You must have the
lambda:TagResource,lambda:UntagResource, andlambda:ListTagspermissions for your IAM principal to manage the 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnCodeSigningConfigMixinProps>- Returns:
- a new instance of
CfnCodeSigningConfigMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-