CfnSigningProfilePropsMixin
- class aws_cdk.mixins_preview.aws_signer.mixins.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.mixins_preview import mixins from aws_cdk.mixins_preview.aws_signer import mixins as signer_mixins cfn_signing_profile_props_mixin = signer_mixins.CfnSigningProfilePropsMixin(signer_mixins.CfnSigningProfileMixinProps( platform_id="platformId", profile_name="profileName", signature_validity_period=signer_mixins.CfnSigningProfilePropsMixin.SignatureValidityPeriodProperty( type="type", value=123 ), tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Signer::SigningProfile.- Parameters:
props (
Union[CfnSigningProfileMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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)
(experimental) 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.- Stability:
experimental
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.mixins_preview.aws_signer import mixins as signer_mixins signature_validity_period_property = signer_mixins.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.