Class CfnCodeSigningConfig.Builder

java.lang.Object
software.amazon.awscdk.services.lambda.CfnCodeSigningConfig.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCodeSigningConfig>
Enclosing class:
CfnCodeSigningConfig

@Stability(Stable) public static final class CfnCodeSigningConfig.Builder extends Object implements software.amazon.jsii.Builder<CfnCodeSigningConfig>
A fluent builder for CfnCodeSigningConfig.
  • Method Details

    • create

      @Stability(Stable) public static CfnCodeSigningConfig.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnCodeSigningConfig.Builder.
    • allowedPublishers

      @Stability(Stable) public CfnCodeSigningConfig.Builder allowedPublishers(IResolvable allowedPublishers)
      List of allowed publishers.

      Parameters:
      allowedPublishers - List of allowed publishers. This parameter is required.
      Returns:
      this
    • allowedPublishers

      @Stability(Stable) public CfnCodeSigningConfig.Builder allowedPublishers(CfnCodeSigningConfig.AllowedPublishersProperty allowedPublishers)
      List of allowed publishers.

      Parameters:
      allowedPublishers - List of allowed publishers. This parameter is required.
      Returns:
      this
    • codeSigningPolicies

      @Stability(Stable) public CfnCodeSigningConfig.Builder codeSigningPolicies(IResolvable codeSigningPolicies)
      The code signing policy controls the validation failure action for signature mismatch or expiry.

      Parameters:
      codeSigningPolicies - The code signing policy controls the validation failure action for signature mismatch or expiry. This parameter is required.
      Returns:
      this
    • codeSigningPolicies

      @Stability(Stable) public CfnCodeSigningConfig.Builder codeSigningPolicies(CfnCodeSigningConfig.CodeSigningPoliciesProperty codeSigningPolicies)
      The code signing policy controls the validation failure action for signature mismatch or expiry.

      Parameters:
      codeSigningPolicies - The code signing policy controls the validation failure action for signature mismatch or expiry. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnCodeSigningConfig.Builder description(String description)
      Code signing configuration description.

      Parameters:
      description - Code signing configuration description. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnCodeSigningConfig build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnCodeSigningConfig>
      Returns:
      a newly built instance of CfnCodeSigningConfig.