CfnSigningJobPropsMixin
- class aws_cdk.cfn_property_mixins.aws_signer.CfnSigningJobPropsMixin(props, *, strategy=None)
Bases:
MixinRepresents 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
S3SignedObjectProperty
- class CfnSigningJobPropsMixin.S3SignedObjectProperty(*, bucket_name=None, key=None)
Bases:
objectThe 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:
- 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.
- key
Key name that uniquely identifies a signed code image in the bucket.
S3SourceProperty
- class CfnSigningJobPropsMixin.S3SourceProperty(*, bucket_name=None, key=None, version=None)
Bases:
objectInformation 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:
- 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.
- key
Key name of the bucket object that contains unsigned code.
- version
Version of the source image in the version-enabled S3 bucket.
SignedObjectProperty
- class CfnSigningJobPropsMixin.SignedObjectProperty(*, s3=None)
Bases:
objectThe 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:
- 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.
SourceProperty
- class CfnSigningJobPropsMixin.SourceProperty(*, s3=None)
Bases:
objectInformation 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:
- 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.