@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:40.171Z") public class CfnSigningProfile extends CfnResource implements IInspectable
Creates a signing profile. A signing profile is a code signing template that can be used to carry out a pre-defined signing job.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.signer.*; CfnSigningProfile cfnSigningProfile = CfnSigningProfile.Builder.create(this, "MyCfnSigningProfile") .platformId("platformId") // the properties below are optional .signatureValidityPeriod(SignatureValidityPeriodProperty.builder() .type("type") .value(123) .build()) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnSigningProfile.Builder
A fluent builder for
CfnSigningProfile . |
static interface |
CfnSigningProfile.SignatureValidityPeriodProperty
The validity period for the signing job.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnSigningProfile(Construct scope,
java.lang.String id,
CfnSigningProfileProps props)
Create a new `AWS::Signer::SigningProfile`.
|
protected |
CfnSigningProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnSigningProfile(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrArn() |
java.lang.String |
getAttrProfileName() |
java.lang.String |
getAttrProfileVersion() |
java.lang.String |
getAttrProfileVersionArn() |
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getPlatformId()
The ID of a platform that is available for use by a signing profile.
|
java.lang.Object |
getSignatureValidityPeriod()
The validity period override for any signature generated using this signing profile.
|
TagManager |
getTags()
A list of tags associated with the signing profile.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setPlatformId(java.lang.String value)
The ID of a platform that is available for use by a signing profile.
|
void |
setSignatureValidityPeriod(CfnSigningProfile.SignatureValidityPeriodProperty value)
The validity period override for any signature generated using this signing profile.
|
void |
setSignatureValidityPeriod(IResolvable value)
The validity period override for any signature generated using this signing profile.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnSigningProfile(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnSigningProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnSigningProfile(Construct scope, java.lang.String id, CfnSigningProfileProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrArn()
public java.lang.String getAttrProfileName()
public java.lang.String getAttrProfileVersion()
public java.lang.String getAttrProfileVersionArn()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.String getPlatformId()
public void setPlatformId(java.lang.String value)
public java.lang.Object getSignatureValidityPeriod()
If unspecified, the default is 135 months.
public void setSignatureValidityPeriod(CfnSigningProfile.SignatureValidityPeriodProperty value)
If unspecified, the default is 135 months.
public void setSignatureValidityPeriod(IResolvable value)
If unspecified, the default is 135 months.