awssigner

package
v2.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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.

func CfnProfilePermission_IsCfnResource

func CfnProfilePermission_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource.

func CfnProfilePermission_IsConstruct

func CfnProfilePermission_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead

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.

func CfnSigningProfile_IsCfnResource

func CfnSigningProfile_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource.

func CfnSigningProfile_IsConstruct

func CfnSigningProfile_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead

func NewCfnProfilePermission_Override

func NewCfnProfilePermission_Override(c CfnProfilePermission, scope constructs.Construct, id *string, props *CfnProfilePermissionProps)

Create a new `AWS::Signer::ProfilePermission`.

func NewCfnSigningProfile_Override

func NewCfnSigningProfile_Override(c CfnSigningProfile, scope constructs.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)

func SigningProfile_IsConstruct

func SigningProfile_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead

func SigningProfile_IsResource

func SigningProfile_IsResource(construct constructs.IConstruct) *bool

Check whether the given construct is a Resource.

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() constructs.Node
	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)
	OverrideLogicalId(newLogicalId *string)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	ShouldSynthesize() *bool
	ToString() *string
	ValidateProperties(_properties interface{})
}

A CloudFormation `AWS::Signer::ProfilePermission`.

Adds cross-account permissions to a signing profile.

TODO: EXAMPLE

func NewCfnProfilePermission

func NewCfnProfilePermission(scope constructs.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() constructs.Node
	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)
	OverrideLogicalId(newLogicalId *string)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	ShouldSynthesize() *bool
	ToString() *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 constructs.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.
	SigningProfileArn() *string
	// The name of signing profile.
	SigningProfileName() *string
	// The version of signing profile.
	SigningProfileVersion() *string
	// The ARN of signing profile version.
	SigningProfileVersionArn() *string
}

A Signer Profile.

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.

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

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() constructs.Node
	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
	ToString() *string
}

Defines a Signing Profile.

TODO: EXAMPLE

func NewSigningProfile

func NewSigningProfile(scope constructs.Construct, id *string, props *SigningProfileProps) SigningProfile

type SigningProfileAttributes

type SigningProfileAttributes struct {
	// The name of signing profile.
	SigningProfileName *string `json:"signingProfileName" yaml:"signingProfileName"`
	// The version of signing profile.
	SigningProfileVersion *string `json:"signingProfileVersion" yaml:"signingProfileVersion"`
}

A reference to a Signing Profile.

TODO: EXAMPLE

type SigningProfileProps

type SigningProfileProps struct {
	// The Signing Platform available for signing profile.
	// See: https://docs.aws.amazon.com/signer/latest/developerguide/gs-platform.html
	//
	Platform Platform `json:"platform" yaml:"platform"`
	// The validity period for signatures generated using this signing profile.
	SignatureValidity awscdk.Duration `json:"signatureValidity" yaml:"signatureValidity"`
	// Physical name of this Signing Profile.
	SigningProfileName *string `json:"signingProfileName" yaml:"signingProfileName"`
}

Construction properties for a Signing Profile object.

TODO: EXAMPLE

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL