Documentation ¶
Index ¶
- func CfnProfilePermission_CFN_RESOURCE_TYPE_NAME() *string
- func CfnProfilePermission_IsCfnElement(x interface{}) *bool
- func CfnProfilePermission_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnProfilePermission_IsConstruct(x interface{}) *bool
- func CfnSigningProfile_CFN_RESOURCE_TYPE_NAME() *string
- func CfnSigningProfile_IsCfnElement(x interface{}) *bool
- func CfnSigningProfile_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnSigningProfile_IsConstruct(x interface{}) *bool
- func NewCfnProfilePermission_Override(c CfnProfilePermission, scope awscdk.Construct, id *string, ...)
- func NewCfnSigningProfile_Override(c CfnSigningProfile, scope awscdk.Construct, id *string, ...)
- func NewSigningProfile_Override(s SigningProfile, scope constructs.Construct, id *string, ...)
- func SigningProfile_IsConstruct(x interface{}) *bool
- func SigningProfile_IsResource(construct awscdk.IConstruct) *bool
- type CfnProfilePermission
- type CfnProfilePermissionProps
- type CfnSigningProfile
- type CfnSigningProfileProps
- type CfnSigningProfile_SignatureValidityPeriodProperty
- type ISigningProfile
- type Platform
- type SigningProfile
- type SigningProfileAttributes
- type SigningProfileProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnProfilePermission_CFN_RESOURCE_TYPE_NAME ¶
func CfnProfilePermission_CFN_RESOURCE_TYPE_NAME() *string
func CfnProfilePermission_IsCfnElement ¶
func CfnProfilePermission_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnProfilePermission_IsCfnResource ¶
func CfnProfilePermission_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnProfilePermission_IsConstruct ¶
func CfnProfilePermission_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func CfnSigningProfile_CFN_RESOURCE_TYPE_NAME ¶
func CfnSigningProfile_CFN_RESOURCE_TYPE_NAME() *string
func CfnSigningProfile_IsCfnElement ¶
func CfnSigningProfile_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnSigningProfile_IsCfnResource ¶
func CfnSigningProfile_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnSigningProfile_IsConstruct ¶
func CfnSigningProfile_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func NewCfnProfilePermission_Override ¶
func NewCfnProfilePermission_Override(c CfnProfilePermission, scope awscdk.Construct, id *string, props *CfnProfilePermissionProps)
Create a new `AWS::Signer::ProfilePermission`.
func NewCfnSigningProfile_Override ¶
func NewCfnSigningProfile_Override(c CfnSigningProfile, scope awscdk.Construct, id *string, props *CfnSigningProfileProps)
Create a new `AWS::Signer::SigningProfile`.
func NewSigningProfile_Override ¶
func NewSigningProfile_Override(s SigningProfile, scope constructs.Construct, id *string, props *SigningProfileProps)
Experimental.
func SigningProfile_IsConstruct ¶
func SigningProfile_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func SigningProfile_IsResource ¶
func SigningProfile_IsResource(construct awscdk.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
Types ¶
type CfnProfilePermission ¶
type CfnProfilePermission interface { awscdk.CfnResource awscdk.IInspectable Action() *string SetAction(val *string) CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string LogicalId() *string Node() awscdk.ConstructNode Principal() *string SetPrincipal(val *string) ProfileName() *string SetProfileName(val *string) ProfileVersion() *string SetProfileVersion(val *string) Ref() *string Stack() awscdk.Stack StatementId() *string SetStatementId(val *string) UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::Signer::ProfilePermission`.
Adds cross-account permissions to a signing profile.
TODO: EXAMPLE
func NewCfnProfilePermission ¶
func NewCfnProfilePermission(scope awscdk.Construct, id *string, props *CfnProfilePermissionProps) CfnProfilePermission
Create a new `AWS::Signer::ProfilePermission`.
type CfnProfilePermissionProps ¶
type CfnProfilePermissionProps struct { // The AWS Signer action permitted as part of cross-account permissions. Action *string `json:"action" yaml:"action"` // The AWS principal receiving cross-account permissions. // // This may be an IAM role or another AWS account ID. Principal *string `json:"principal" yaml:"principal"` // The human-readable name of the signing profile. ProfileName *string `json:"profileName" yaml:"profileName"` // A unique identifier for the cross-account permission statement. StatementId *string `json:"statementId" yaml:"statementId"` // The version of the signing profile. ProfileVersion *string `json:"profileVersion" yaml:"profileVersion"` }
Properties for defining a `CfnProfilePermission`.
TODO: EXAMPLE
type CfnSigningProfile ¶
type CfnSigningProfile interface { awscdk.CfnResource awscdk.IInspectable AttrArn() *string AttrProfileName() *string AttrProfileVersion() *string AttrProfileVersionArn() *string CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string LogicalId() *string Node() awscdk.ConstructNode PlatformId() *string SetPlatformId(val *string) Ref() *string SignatureValidityPeriod() interface{} SetSignatureValidityPeriod(val interface{}) Stack() awscdk.Stack Tags() awscdk.TagManager UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::Signer::SigningProfile`.
Creates a signing profile. A signing profile is a code signing template that can be used to carry out a pre-defined signing job.
TODO: EXAMPLE
func NewCfnSigningProfile ¶
func NewCfnSigningProfile(scope awscdk.Construct, id *string, props *CfnSigningProfileProps) CfnSigningProfile
Create a new `AWS::Signer::SigningProfile`.
type CfnSigningProfileProps ¶
type CfnSigningProfileProps struct { // The ID of a platform that is available for use by a signing profile. PlatformId *string `json:"platformId" yaml:"platformId"` // The validity period override for any signature generated using this signing profile. // // If unspecified, the default is 135 months. SignatureValidityPeriod interface{} `json:"signatureValidityPeriod" yaml:"signatureValidityPeriod"` // A list of tags associated with the signing profile. Tags *[]*awscdk.CfnTag `json:"tags" yaml:"tags"` }
Properties for defining a `CfnSigningProfile`.
TODO: EXAMPLE
type CfnSigningProfile_SignatureValidityPeriodProperty ¶
type CfnSigningProfile_SignatureValidityPeriodProperty struct { // The time unit for signature validity: DAYS | MONTHS | YEARS. Type *string `json:"type" yaml:"type"` // The numerical value of the time unit for signature validity. Value *float64 `json:"value" yaml:"value"` }
The validity period for the signing job.
TODO: EXAMPLE
type ISigningProfile ¶
type ISigningProfile interface { awscdk.IResource // The ARN of the signing profile. // Experimental. SigningProfileArn() *string // The name of signing profile. // Experimental. SigningProfileName() *string // The version of signing profile. // Experimental. SigningProfileVersion() *string // The ARN of signing profile version. // Experimental. SigningProfileVersionArn() *string }
A Signer Profile. Experimental.
func SigningProfile_FromSigningProfileAttributes ¶
func SigningProfile_FromSigningProfileAttributes(scope constructs.Construct, id *string, attrs *SigningProfileAttributes) ISigningProfile
Creates a Signing Profile construct that represents an external Signing Profile. Experimental.
type Platform ¶
type Platform interface {
PlatformId() *string
}
Platforms that are allowed with signing config.
TODO: EXAMPLE
See: https://docs.aws.amazon.com/signer/latest/developerguide/gs-platform.html
Experimental.
func Platform_AMAZON_FREE_RTOS_DEFAULT ¶
func Platform_AMAZON_FREE_RTOS_DEFAULT() Platform
func Platform_AMAZON_FREE_RTOS_TI_CC3220SF ¶
func Platform_AMAZON_FREE_RTOS_TI_CC3220SF() Platform
func Platform_AWS_IOT_DEVICE_MANAGEMENT_SHA256_ECDSA ¶
func Platform_AWS_IOT_DEVICE_MANAGEMENT_SHA256_ECDSA() Platform
func Platform_AWS_LAMBDA_SHA384_ECDSA ¶
func Platform_AWS_LAMBDA_SHA384_ECDSA() Platform
type SigningProfile ¶
type SigningProfile interface { awscdk.Resource ISigningProfile Env() *awscdk.ResourceEnvironment Node() awscdk.ConstructNode PhysicalName() *string SigningProfileArn() *string SigningProfileName() *string SigningProfileVersion() *string SigningProfileVersionArn() *string Stack() awscdk.Stack ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string Prepare() Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string }
Defines a Signing Profile.
TODO: EXAMPLE
Experimental.
func NewSigningProfile ¶
func NewSigningProfile(scope constructs.Construct, id *string, props *SigningProfileProps) SigningProfile
Experimental.
type SigningProfileAttributes ¶
type SigningProfileAttributes struct { // The name of signing profile. // Experimental. SigningProfileName *string `json:"signingProfileName" yaml:"signingProfileName"` // The version of signing profile. // Experimental. SigningProfileVersion *string `json:"signingProfileVersion" yaml:"signingProfileVersion"` }
A reference to a Signing Profile.
TODO: EXAMPLE
Experimental.
type SigningProfileProps ¶
type SigningProfileProps struct { // The Signing Platform available for signing profile. // See: https://docs.aws.amazon.com/signer/latest/developerguide/gs-platform.html // // Experimental. Platform Platform `json:"platform" yaml:"platform"` // The validity period for signatures generated using this signing profile. // Experimental. SignatureValidity awscdk.Duration `json:"signatureValidity" yaml:"signatureValidity"` // Physical name of this Signing Profile. // Experimental. SigningProfileName *string `json:"signingProfileName" yaml:"signingProfileName"` }
Construction properties for a Signing Profile object.
TODO: EXAMPLE
Experimental.