awssigner

package
v2.0.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 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. 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

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. 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

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)

Experimental.

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. 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() 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`.

func NewCfnProfilePermission

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

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

type CfnProfilePermissionProps

type CfnProfilePermissionProps struct {
	// `AWS::Signer::ProfilePermission.Action`.
	Action *string `json:"action"`
	// `AWS::Signer::ProfilePermission.Principal`.
	Principal *string `json:"principal"`
	// `AWS::Signer::ProfilePermission.ProfileName`.
	ProfileName *string `json:"profileName"`
	// `AWS::Signer::ProfilePermission.StatementId`.
	StatementId *string `json:"statementId"`
	// `AWS::Signer::ProfilePermission.ProfileVersion`.
	ProfileVersion *string `json:"profileVersion"`
}

Properties for defining a `AWS::Signer::ProfilePermission`.

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`.

func NewCfnSigningProfile

func NewCfnSigningProfile(scope constructs.Construct, id *string, props *CfnSigningProfileProps) CfnSigningProfile

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

type CfnSigningProfileProps

type CfnSigningProfileProps struct {
	// `AWS::Signer::SigningProfile.PlatformId`.
	PlatformId *string `json:"platformId"`
	// `AWS::Signer::SigningProfile.SignatureValidityPeriod`.
	SignatureValidityPeriod interface{} `json:"signatureValidityPeriod"`
	// `AWS::Signer::SigningProfile.Tags`.
	Tags *[]*awscdk.CfnTag `json:"tags"`
}

Properties for defining a `AWS::Signer::SigningProfile`.

type CfnSigningProfile_SignatureValidityPeriodProperty

type CfnSigningProfile_SignatureValidityPeriodProperty struct {
	// `CfnSigningProfile.SignatureValidityPeriodProperty.Type`.
	Type *string `json:"type"`
	// `CfnSigningProfile.SignatureValidityPeriodProperty.Value`.
	Value *float64 `json:"value"`
}

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. 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() 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. 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"`
	// The version of signing profile.
	// Experimental.
	SigningProfileVersion *string `json:"signingProfileVersion"`
}

A reference to a Signing Profile. 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"`
	// The validity period for signatures generated using this signing profile.
	// Experimental.
	SignatureValidity awscdk.Duration `json:"signatureValidity"`
	// Physical name of this Signing Profile.
	// Experimental.
	SigningProfileName *string `json:"signingProfileName"`
}

Construction properties for a Signing Profile object. Experimental.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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