CfnSigningProfilePropsMixin
- class aws_cdk.cfn_property_mixins.aws_signer.CfnSigningProfilePropsMixin(props, *, strategy=None)
Bases:
MixinCreates a signing profile.
A signing profile is a code-signing template that can be used to carry out a pre-defined signing job.
- See:
- CloudformationResource:
AWS::Signer::SigningProfile
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_signer as signer import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_signing_profile_props_mixin = signer.CfnSigningProfilePropsMixin(signer.CfnSigningProfileMixinProps( platform_id="platformId", profile_name="profileName", signature_validity_period=signer.CfnSigningProfilePropsMixin.SignatureValidityPeriodProperty( type="type", value=123 ), tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::Signer::SigningProfile.- Parameters:
props (
Union[CfnSigningProfileMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['platformId', 'profileName', 'signatureValidityPeriod', 'tags']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
SignatureValidityPeriodProperty
- class CfnSigningProfilePropsMixin.SignatureValidityPeriodProperty(*, type=None, value=None)
Bases:
objectThe validity period for the signing job.
- Parameters:
type (
Optional[str]) – The time unit for signature validity: DAYS | MONTHS | YEARS.value (
Union[int,float,None]) – The numerical value of the time unit for signature validity.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_signer as signer signature_validity_period_property = signer.CfnSigningProfilePropsMixin.SignatureValidityPeriodProperty( type="type", value=123 )
Attributes
- type
DAYS | MONTHS | YEARS.
- See:
- Type:
The time unit for signature validity
- value
The numerical value of the time unit for signature validity.