CfnSigningProfilePropsMixin

class aws_cdk.mixins_preview.aws_signer.mixins.CfnSigningProfilePropsMixin(props, *, strategy=None)

Bases: Mixin

Creates a signing profile.

A signing profile is a code-signing template that can be used to carry out a pre-defined signing job.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-signingprofile.html

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:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

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 x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

SignatureValidityPeriodProperty

class CfnSigningProfilePropsMixin.SignatureValidityPeriodProperty(*, type=None, value=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingprofile-signaturevalidityperiod.html

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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingprofile-signaturevalidityperiod.html#cfn-signer-signingprofile-signaturevalidityperiod-type

Type:

The time unit for signature validity

value

The numerical value of the time unit for signature validity.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingprofile-signaturevalidityperiod.html#cfn-signer-signingprofile-signaturevalidityperiod-value