Show / Hide Table of Contents

Class SigningProfile

Defines a Signing Profile.

Inheritance
object
Resource
SigningProfile
Implements
ISigningProfile
IResource
IConstruct
IDependable
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.Signer
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SigningProfile : Resource, ISigningProfile, IResource, IConstruct, IDependable
Syntax (vb)
Public Class SigningProfile Inherits Resource Implements ISigningProfile, IResource, IConstruct, IDependable
Remarks

Resource: AWS::Signer::SigningProfile

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.Signer;


             var signingProfile = new SigningProfile(this, "SigningProfile", new SigningProfileProps {
                 Platform = Platform.AWS_LAMBDA_SHA384_ECDSA
             });

             var codeSigningConfig = new CodeSigningConfig(this, "CodeSigningConfig", new CodeSigningConfigProps {
                 SigningProfiles = new [] { signingProfile }
             });

             new Function(this, "Function", new FunctionProps {
                 CodeSigningConfig = codeSigningConfig,
                 Runtime = Runtime.NODEJS_18_X,
                 Handler = "index.handler",
                 Code = Code.FromAsset(Join(__dirname, "lambda-handler"))
             });

Synopsis

Constructors

SigningProfile(Construct, string, ISigningProfileProps)

Defines a Signing Profile.

Properties

PROPERTY_INJECTION_ID

Uniquely identifies this class.

SigningProfileArn

The ARN of the signing profile.

SigningProfileName

The name of signing profile.

SigningProfileVersion

The version of signing profile.

SigningProfileVersionArn

The ARN of signing profile version.

Methods

FromSigningProfileAttributes(Construct, string, ISigningProfileAttributes)

Creates a Signing Profile construct that represents an external Signing Profile.

Constructors

SigningProfile(Construct, string, ISigningProfileProps)

Defines a Signing Profile.

public SigningProfile(Construct scope, string id, ISigningProfileProps props)
Parameters
scope Construct
id string
props ISigningProfileProps
Remarks

Resource: AWS::Signer::SigningProfile

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.Signer;


             var signingProfile = new SigningProfile(this, "SigningProfile", new SigningProfileProps {
                 Platform = Platform.AWS_LAMBDA_SHA384_ECDSA
             });

             var codeSigningConfig = new CodeSigningConfig(this, "CodeSigningConfig", new CodeSigningConfigProps {
                 SigningProfiles = new [] { signingProfile }
             });

             new Function(this, "Function", new FunctionProps {
                 CodeSigningConfig = codeSigningConfig,
                 Runtime = Runtime.NODEJS_18_X,
                 Handler = "index.handler",
                 Code = Code.FromAsset(Join(__dirname, "lambda-handler"))
             });

Properties

PROPERTY_INJECTION_ID

Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

Resource: AWS::Signer::SigningProfile

ExampleMetadata: infused

SigningProfileArn

The ARN of the signing profile.

public virtual string SigningProfileArn { get; }
Property Value

string

Remarks

Resource: AWS::Signer::SigningProfile

ExampleMetadata: infused

SigningProfileName

The name of signing profile.

public virtual string SigningProfileName { get; }
Property Value

string

Remarks

Resource: AWS::Signer::SigningProfile

ExampleMetadata: infused

SigningProfileVersion

The version of signing profile.

public virtual string SigningProfileVersion { get; }
Property Value

string

Remarks

Resource: AWS::Signer::SigningProfile

ExampleMetadata: infused

SigningProfileVersionArn

The ARN of signing profile version.

public virtual string SigningProfileVersionArn { get; }
Property Value

string

Remarks

Resource: AWS::Signer::SigningProfile

ExampleMetadata: infused

Methods

FromSigningProfileAttributes(Construct, string, ISigningProfileAttributes)

Creates a Signing Profile construct that represents an external Signing Profile.

public static ISigningProfile FromSigningProfileAttributes(Construct scope, string id, ISigningProfileAttributes attrs)
Parameters
scope Construct

The parent creating construct (usually this).

id string

The construct's name.

attrs ISigningProfileAttributes

A SigningProfileAttributes object.

Returns

ISigningProfile

Remarks

Resource: AWS::Signer::SigningProfile

ExampleMetadata: infused

Implements

ISigningProfile
IResource
Constructs.IConstruct
Constructs.IDependable
Back to top Generated by DocFX