1. Packages
  2. AWS Native
  3. API Docs
  4. lambda
  5. CodeSigningConfig

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.lambda.CodeSigningConfig

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    Resource Type definition for AWS::Lambda::CodeSigningConfig.

    Create CodeSigningConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CodeSigningConfig(name: string, args: CodeSigningConfigArgs, opts?: CustomResourceOptions);
    @overload
    def CodeSigningConfig(resource_name: str,
                          args: CodeSigningConfigArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def CodeSigningConfig(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          allowed_publishers: Optional[_lambda_.CodeSigningConfigAllowedPublishersArgs] = None,
                          code_signing_policies: Optional[_lambda_.CodeSigningConfigCodeSigningPoliciesArgs] = None,
                          description: Optional[str] = None)
    func NewCodeSigningConfig(ctx *Context, name string, args CodeSigningConfigArgs, opts ...ResourceOption) (*CodeSigningConfig, error)
    public CodeSigningConfig(string name, CodeSigningConfigArgs args, CustomResourceOptions? opts = null)
    public CodeSigningConfig(String name, CodeSigningConfigArgs args)
    public CodeSigningConfig(String name, CodeSigningConfigArgs args, CustomResourceOptions options)
    
    type: aws-native:lambda:CodeSigningConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CodeSigningConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CodeSigningConfigArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CodeSigningConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CodeSigningConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CodeSigningConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const codeSigningConfigResource = new aws_native.lambda.CodeSigningConfig("codeSigningConfigResource", {
        allowedPublishers: {
            signingProfileVersionArns: ["string"],
        },
        codeSigningPolicies: {
            untrustedArtifactOnDeployment: aws_native.lambda.CodeSigningConfigCodeSigningPoliciesUntrustedArtifactOnDeployment.Warn,
        },
        description: "string",
    });
    
    Coming soon!
    

    CodeSigningConfig Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The CodeSigningConfig resource accepts the following input properties:

    AllowedPublishers Pulumi.AwsNative.Lambda.Inputs.CodeSigningConfigAllowedPublishers
    When the CodeSigningConfig is later on attached to a function, the function code will be expected to be signed by profiles from this list
    CodeSigningPolicies Pulumi.AwsNative.Lambda.Inputs.CodeSigningConfigCodeSigningPolicies
    Policies to control how to act if a signature is invalid
    Description string
    A description of the CodeSigningConfig
    AllowedPublishers CodeSigningConfigAllowedPublishersArgs
    When the CodeSigningConfig is later on attached to a function, the function code will be expected to be signed by profiles from this list
    CodeSigningPolicies CodeSigningConfigCodeSigningPoliciesArgs
    Policies to control how to act if a signature is invalid
    Description string
    A description of the CodeSigningConfig
    allowedPublishers CodeSigningConfigAllowedPublishers
    When the CodeSigningConfig is later on attached to a function, the function code will be expected to be signed by profiles from this list
    codeSigningPolicies CodeSigningConfigCodeSigningPolicies
    Policies to control how to act if a signature is invalid
    description String
    A description of the CodeSigningConfig
    allowedPublishers CodeSigningConfigAllowedPublishers
    When the CodeSigningConfig is later on attached to a function, the function code will be expected to be signed by profiles from this list
    codeSigningPolicies CodeSigningConfigCodeSigningPolicies
    Policies to control how to act if a signature is invalid
    description string
    A description of the CodeSigningConfig
    allowed_publishers lambda_.CodeSigningConfigAllowedPublishersArgs
    When the CodeSigningConfig is later on attached to a function, the function code will be expected to be signed by profiles from this list
    code_signing_policies lambda_.CodeSigningConfigCodeSigningPoliciesArgs
    Policies to control how to act if a signature is invalid
    description str
    A description of the CodeSigningConfig
    allowedPublishers Property Map
    When the CodeSigningConfig is later on attached to a function, the function code will be expected to be signed by profiles from this list
    codeSigningPolicies Property Map
    Policies to control how to act if a signature is invalid
    description String
    A description of the CodeSigningConfig

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CodeSigningConfig resource produces the following output properties:

    CodeSigningConfigArn string
    A unique Arn for CodeSigningConfig resource
    CodeSigningConfigId string
    A unique identifier for CodeSigningConfig resource
    Id string
    The provider-assigned unique ID for this managed resource.
    CodeSigningConfigArn string
    A unique Arn for CodeSigningConfig resource
    CodeSigningConfigId string
    A unique identifier for CodeSigningConfig resource
    Id string
    The provider-assigned unique ID for this managed resource.
    codeSigningConfigArn String
    A unique Arn for CodeSigningConfig resource
    codeSigningConfigId String
    A unique identifier for CodeSigningConfig resource
    id String
    The provider-assigned unique ID for this managed resource.
    codeSigningConfigArn string
    A unique Arn for CodeSigningConfig resource
    codeSigningConfigId string
    A unique identifier for CodeSigningConfig resource
    id string
    The provider-assigned unique ID for this managed resource.
    code_signing_config_arn str
    A unique Arn for CodeSigningConfig resource
    code_signing_config_id str
    A unique identifier for CodeSigningConfig resource
    id str
    The provider-assigned unique ID for this managed resource.
    codeSigningConfigArn String
    A unique Arn for CodeSigningConfig resource
    codeSigningConfigId String
    A unique identifier for CodeSigningConfig resource
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    CodeSigningConfigAllowedPublishers, CodeSigningConfigAllowedPublishersArgs

    SigningProfileVersionArns List<string>
    List of Signing profile version Arns
    SigningProfileVersionArns []string
    List of Signing profile version Arns
    signingProfileVersionArns List<String>
    List of Signing profile version Arns
    signingProfileVersionArns string[]
    List of Signing profile version Arns
    signing_profile_version_arns Sequence[str]
    List of Signing profile version Arns
    signingProfileVersionArns List<String>
    List of Signing profile version Arns

    CodeSigningConfigCodeSigningPolicies, CodeSigningConfigCodeSigningPoliciesArgs

    UntrustedArtifactOnDeployment Pulumi.AwsNative.Lambda.CodeSigningConfigCodeSigningPoliciesUntrustedArtifactOnDeployment
    Indicates how Lambda operations involve updating the code artifact will operate. Default to Warn if not provided
    UntrustedArtifactOnDeployment CodeSigningConfigCodeSigningPoliciesUntrustedArtifactOnDeployment
    Indicates how Lambda operations involve updating the code artifact will operate. Default to Warn if not provided
    untrustedArtifactOnDeployment CodeSigningConfigCodeSigningPoliciesUntrustedArtifactOnDeployment
    Indicates how Lambda operations involve updating the code artifact will operate. Default to Warn if not provided
    untrustedArtifactOnDeployment CodeSigningConfigCodeSigningPoliciesUntrustedArtifactOnDeployment
    Indicates how Lambda operations involve updating the code artifact will operate. Default to Warn if not provided
    untrusted_artifact_on_deployment lambda_.CodeSigningConfigCodeSigningPoliciesUntrustedArtifactOnDeployment
    Indicates how Lambda operations involve updating the code artifact will operate. Default to Warn if not provided
    untrustedArtifactOnDeployment "Warn" | "Enforce"
    Indicates how Lambda operations involve updating the code artifact will operate. Default to Warn if not provided

    CodeSigningConfigCodeSigningPoliciesUntrustedArtifactOnDeployment, CodeSigningConfigCodeSigningPoliciesUntrustedArtifactOnDeploymentArgs

    Warn
    Warn
    Enforce
    Enforce
    CodeSigningConfigCodeSigningPoliciesUntrustedArtifactOnDeploymentWarn
    Warn
    CodeSigningConfigCodeSigningPoliciesUntrustedArtifactOnDeploymentEnforce
    Enforce
    Warn
    Warn
    Enforce
    Enforce
    Warn
    Warn
    Enforce
    Enforce
    WARN
    Warn
    ENFORCE
    Enforce
    "Warn"
    Warn
    "Enforce"
    Enforce

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi