awsresiliencehub

package
v1.135.0-devpreview Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CfnApp_CFN_RESOURCE_TYPE_NAME

func CfnApp_CFN_RESOURCE_TYPE_NAME() *string

func CfnApp_IsCfnElement

func CfnApp_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 CfnApp_IsCfnResource

func CfnApp_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource. Experimental.

func CfnApp_IsConstruct

func CfnApp_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func CfnResiliencyPolicy_CFN_RESOURCE_TYPE_NAME

func CfnResiliencyPolicy_CFN_RESOURCE_TYPE_NAME() *string

func CfnResiliencyPolicy_IsCfnElement

func CfnResiliencyPolicy_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 CfnResiliencyPolicy_IsCfnResource

func CfnResiliencyPolicy_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource. Experimental.

func CfnResiliencyPolicy_IsConstruct

func CfnResiliencyPolicy_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func NewCfnApp_Override

func NewCfnApp_Override(c CfnApp, scope awscdk.Construct, id *string, props *CfnAppProps)

Create a new `AWS::ResilienceHub::App`.

func NewCfnResiliencyPolicy_Override

func NewCfnResiliencyPolicy_Override(c CfnResiliencyPolicy, scope awscdk.Construct, id *string, props *CfnResiliencyPolicyProps)

Create a new `AWS::ResilienceHub::ResiliencyPolicy`.

Types

type CfnApp

type CfnApp interface {
	awscdk.CfnResource
	awscdk.IInspectable
	AppTemplateBody() *string
	SetAppTemplateBody(val *string)
	AttrAppArn() *string
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	CfnResourceType() *string
	CreationStack() *[]*string
	Description() *string
	SetDescription(val *string)
	LogicalId() *string
	Name() *string
	SetName(val *string)
	Node() awscdk.ConstructNode
	Ref() *string
	ResiliencyPolicyArn() *string
	SetResiliencyPolicyArn(val *string)
	ResourceMappings() interface{}
	SetResourceMappings(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::ResilienceHub::App`.

TODO: EXAMPLE

func NewCfnApp

func NewCfnApp(scope awscdk.Construct, id *string, props *CfnAppProps) CfnApp

Create a new `AWS::ResilienceHub::App`.

type CfnAppProps

type CfnAppProps struct {
	// `AWS::ResilienceHub::App.AppTemplateBody`.
	AppTemplateBody *string `json:"appTemplateBody"`
	// `AWS::ResilienceHub::App.Description`.
	Description *string `json:"description"`
	// `AWS::ResilienceHub::App.Name`.
	Name *string `json:"name"`
	// `AWS::ResilienceHub::App.ResiliencyPolicyArn`.
	ResiliencyPolicyArn *string `json:"resiliencyPolicyArn"`
	// `AWS::ResilienceHub::App.ResourceMappings`.
	ResourceMappings interface{} `json:"resourceMappings"`
	// `AWS::ResilienceHub::App.Tags`.
	Tags *map[string]*string `json:"tags"`
}

Properties for defining a `AWS::ResilienceHub::App`.

TODO: EXAMPLE

type CfnApp_PhysicalResourceIdProperty

type CfnApp_PhysicalResourceIdProperty struct {
	// `CfnApp.PhysicalResourceIdProperty.AwsAccountId`.
	AwsAccountId *string `json:"awsAccountId"`
	// `CfnApp.PhysicalResourceIdProperty.AwsRegion`.
	AwsRegion *string `json:"awsRegion"`
	// `CfnApp.PhysicalResourceIdProperty.Identifier`.
	Identifier *string `json:"identifier"`
	// `CfnApp.PhysicalResourceIdProperty.Type`.
	Type *string `json:"type"`
}

TODO: EXAMPLE

type CfnApp_ResourceMappingProperty

type CfnApp_ResourceMappingProperty struct {
	// `CfnApp.ResourceMappingProperty.LogicalStackName`.
	LogicalStackName *string `json:"logicalStackName"`
	// `CfnApp.ResourceMappingProperty.MappingType`.
	MappingType *string `json:"mappingType"`
	// `CfnApp.ResourceMappingProperty.PhysicalResourceId`.
	PhysicalResourceId interface{} `json:"physicalResourceId"`
	// `CfnApp.ResourceMappingProperty.ResourceName`.
	ResourceName *string `json:"resourceName"`
}

TODO: EXAMPLE

type CfnResiliencyPolicy

type CfnResiliencyPolicy interface {
	awscdk.CfnResource
	awscdk.IInspectable
	AttrPolicyArn() *string
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	CfnResourceType() *string
	CreationStack() *[]*string
	DataLocationConstraint() *string
	SetDataLocationConstraint(val *string)
	LogicalId() *string
	Node() awscdk.ConstructNode
	Policy() interface{}
	SetPolicy(val interface{})
	PolicyDescription() *string
	SetPolicyDescription(val *string)
	PolicyName() *string
	SetPolicyName(val *string)
	Ref() *string
	Stack() awscdk.Stack
	Tags() awscdk.TagManager
	Tier() *string
	SetTier(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::ResilienceHub::ResiliencyPolicy`.

TODO: EXAMPLE

func NewCfnResiliencyPolicy

func NewCfnResiliencyPolicy(scope awscdk.Construct, id *string, props *CfnResiliencyPolicyProps) CfnResiliencyPolicy

Create a new `AWS::ResilienceHub::ResiliencyPolicy`.

type CfnResiliencyPolicyProps

type CfnResiliencyPolicyProps struct {
	// `AWS::ResilienceHub::ResiliencyPolicy.DataLocationConstraint`.
	DataLocationConstraint *string `json:"dataLocationConstraint"`
	// `AWS::ResilienceHub::ResiliencyPolicy.Policy`.
	Policy interface{} `json:"policy"`
	// `AWS::ResilienceHub::ResiliencyPolicy.PolicyDescription`.
	PolicyDescription *string `json:"policyDescription"`
	// `AWS::ResilienceHub::ResiliencyPolicy.PolicyName`.
	PolicyName *string `json:"policyName"`
	// `AWS::ResilienceHub::ResiliencyPolicy.Tags`.
	Tags *map[string]*string `json:"tags"`
	// `AWS::ResilienceHub::ResiliencyPolicy.Tier`.
	Tier *string `json:"tier"`
}

Properties for defining a `AWS::ResilienceHub::ResiliencyPolicy`.

TODO: EXAMPLE

type CfnResiliencyPolicy_FailurePolicyProperty

type CfnResiliencyPolicy_FailurePolicyProperty struct {
	// `CfnResiliencyPolicy.FailurePolicyProperty.RpoInSecs`.
	RpoInSecs *float64 `json:"rpoInSecs"`
	// `CfnResiliencyPolicy.FailurePolicyProperty.RtoInSecs`.
	RtoInSecs *float64 `json:"rtoInSecs"`
}

TODO: EXAMPLE

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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