CfnSigningJobPropsMixin

class aws_cdk.cfn_property_mixins.aws_signer.CfnSigningJobPropsMixin(props, *, strategy=None)

Bases: Mixin

Represents an AWS Signer signing job.

Signing jobs are initiated via StartSigningJob and are read-only resources that provide visibility into code signing operations.

See:

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

CloudformationResource:

AWS::Signer::SigningJob

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_job_props_mixin = signer.CfnSigningJobPropsMixin(signer.CfnSigningJobMixinProps(
    profile_name="profileName"
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::Signer::SigningJob.

Parameters:
  • props (Union[CfnSigningJobMixinProps, 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 = ['profileName']

Static Methods

classmethod is_mixin(x)

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.

S3SignedObjectProperty

class CfnSigningJobPropsMixin.S3SignedObjectProperty(*, bucket_name=None, key=None)

Bases: object

The Amazon S3 bucket name and key where Signer saved the signed code image.

Parameters:
  • bucket_name (Optional[str]) – Name of the S3 bucket.

  • key (Optional[str]) – Key name that uniquely identifies a signed code image in the bucket.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingjob-s3signedobject.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.cfn_property_mixins import aws_signer as signer

s3_signed_object_property = signer.CfnSigningJobPropsMixin.S3SignedObjectProperty(
    bucket_name="bucketName",
    key="key"
)

Attributes

bucket_name

Name of the S3 bucket.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingjob-s3signedobject.html#cfn-signer-signingjob-s3signedobject-bucketname

key

Key name that uniquely identifies a signed code image in the bucket.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingjob-s3signedobject.html#cfn-signer-signingjob-s3signedobject-key

S3SourceProperty

class CfnSigningJobPropsMixin.S3SourceProperty(*, bucket_name=None, key=None, version=None)

Bases: object

Information about the Amazon S3 bucket where unsigned code is stored.

Parameters:
  • bucket_name (Optional[str]) – Name of the S3 bucket.

  • key (Optional[str]) – Key name of the bucket object that contains unsigned code.

  • version (Optional[str]) – Version of the source image in the version-enabled S3 bucket.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingjob-s3source.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.cfn_property_mixins import aws_signer as signer

s3_source_property = signer.CfnSigningJobPropsMixin.S3SourceProperty(
    bucket_name="bucketName",
    key="key",
    version="version"
)

Attributes

bucket_name

Name of the S3 bucket.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingjob-s3source.html#cfn-signer-signingjob-s3source-bucketname

key

Key name of the bucket object that contains unsigned code.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingjob-s3source.html#cfn-signer-signingjob-s3source-key

version

Version of the source image in the version-enabled S3 bucket.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingjob-s3source.html#cfn-signer-signingjob-s3source-version

SignedObjectProperty

class CfnSigningJobPropsMixin.SignedObjectProperty(*, s3=None)

Bases: object

The S3 location of the signed code image.

Parameters:

s3 (Union[IResolvable, S3SignedObjectProperty, Dict[str, Any], None]) – The Amazon S3 bucket name and key where Signer saved the signed code image.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingjob-signedobject.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.cfn_property_mixins import aws_signer as signer

signed_object_property = signer.CfnSigningJobPropsMixin.SignedObjectProperty(
    s3=signer.CfnSigningJobPropsMixin.S3SignedObjectProperty(
        bucket_name="bucketName",
        key="key"
    )
)

Attributes

s3

The Amazon S3 bucket name and key where Signer saved the signed code image.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingjob-signedobject.html#cfn-signer-signingjob-signedobject-s3

SourceProperty

class CfnSigningJobPropsMixin.SourceProperty(*, s3=None)

Bases: object

Information about the S3 bucket where unsigned code is stored.

Parameters:

s3 (Union[IResolvable, S3SourceProperty, Dict[str, Any], None]) – Information about the Amazon S3 bucket where unsigned code is stored.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingjob-source.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.cfn_property_mixins import aws_signer as signer

source_property = signer.CfnSigningJobPropsMixin.SourceProperty(
    s3=signer.CfnSigningJobPropsMixin.S3SourceProperty(
        bucket_name="bucketName",
        key="key",
        version="version"
    )
)

Attributes

s3

Information about the Amazon S3 bucket where unsigned code is stored.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingjob-source.html#cfn-signer-signingjob-source-s3