Class SigningProfile
Defines a Signing Profile.
Inherited Members
Namespace: Amazon.CDK.AWS.Signer
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SigningProfile : Resource, ISigningProfile, IResource
Syntax (vb)
Public Class SigningProfile
Inherits Resource
Implements ISigningProfile, IResource
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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
SigningProfile(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
SigningProfile(Construct, String, ISigningProfileProps) |
Properties
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(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected SigningProfile(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
SigningProfile(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected SigningProfile(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
SigningProfile(Construct, String, ISigningProfileProps)
public SigningProfile(Construct scope, string id, ISigningProfileProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props ISigningProfileProps
Properties
SigningProfileArn
The ARN of the signing profile.
public virtual string SigningProfileArn { get; }
Property Value
System.String
SigningProfileName
The name of signing profile.
public virtual string SigningProfileName { get; }
Property Value
System.String
SigningProfileVersion
The version of signing profile.
public virtual string SigningProfileVersion { get; }
Property Value
System.String
SigningProfileVersionArn
The ARN of signing profile version.
public virtual string SigningProfileVersionArn { get; }
Property Value
System.String
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 Constructs.Construct
The parent creating construct (usually
this
).- id System.String
The construct's name.
- attrs ISigningProfileAttributes
A
SigningProfileAttributes
object.
Returns