awsamplify

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

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 CfnBranch_CFN_RESOURCE_TYPE_NAME

func CfnBranch_CFN_RESOURCE_TYPE_NAME() *string

func CfnBranch_IsCfnElement

func CfnBranch_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 CfnBranch_IsCfnResource

func CfnBranch_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource. Experimental.

func CfnBranch_IsConstruct

func CfnBranch_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 CfnDomain_CFN_RESOURCE_TYPE_NAME

func CfnDomain_CFN_RESOURCE_TYPE_NAME() *string

func CfnDomain_IsCfnElement

func CfnDomain_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 CfnDomain_IsCfnResource

func CfnDomain_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource. Experimental.

func CfnDomain_IsConstruct

func CfnDomain_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 NewCfnApp_Override

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

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

func NewCfnBranch_Override

func NewCfnBranch_Override(c CfnBranch, scope constructs.Construct, id *string, props *CfnBranchProps)

Create a new `AWS::Amplify::Branch`.

func NewCfnDomain_Override

func NewCfnDomain_Override(c CfnDomain, scope constructs.Construct, id *string, props *CfnDomainProps)

Create a new `AWS::Amplify::Domain`.

Types

type CfnApp

type CfnApp interface {
	awscdk.CfnResource
	awscdk.IInspectable
	AccessToken() *string
	SetAccessToken(val *string)
	AttrAppId() *string
	AttrAppName() *string
	AttrArn() *string
	AttrDefaultDomain() *string
	AutoBranchCreationConfig() interface{}
	SetAutoBranchCreationConfig(val interface{})
	BasicAuthConfig() interface{}
	SetBasicAuthConfig(val interface{})
	BuildSpec() *string
	SetBuildSpec(val *string)
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	CfnResourceType() *string
	CreationStack() *[]*string
	CustomHeaders() *string
	SetCustomHeaders(val *string)
	CustomRules() interface{}
	SetCustomRules(val interface{})
	Description() *string
	SetDescription(val *string)
	EnableBranchAutoDeletion() interface{}
	SetEnableBranchAutoDeletion(val interface{})
	EnvironmentVariables() interface{}
	SetEnvironmentVariables(val interface{})
	IamServiceRole() *string
	SetIamServiceRole(val *string)
	LogicalId() *string
	Name() *string
	SetName(val *string)
	Node() constructs.Node
	OauthToken() *string
	SetOauthToken(val *string)
	Ref() *string
	Repository() *string
	SetRepository(val *string)
	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::Amplify::App`.

func NewCfnApp

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

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

type CfnAppProps

type CfnAppProps struct {
	// `AWS::Amplify::App.Name`.
	Name *string `json:"name"`
	// `AWS::Amplify::App.AccessToken`.
	AccessToken *string `json:"accessToken"`
	// `AWS::Amplify::App.AutoBranchCreationConfig`.
	AutoBranchCreationConfig interface{} `json:"autoBranchCreationConfig"`
	// `AWS::Amplify::App.BasicAuthConfig`.
	BasicAuthConfig interface{} `json:"basicAuthConfig"`
	// `AWS::Amplify::App.BuildSpec`.
	BuildSpec *string `json:"buildSpec"`
	// `AWS::Amplify::App.CustomHeaders`.
	CustomHeaders *string `json:"customHeaders"`
	// `AWS::Amplify::App.CustomRules`.
	CustomRules interface{} `json:"customRules"`
	// `AWS::Amplify::App.Description`.
	Description *string `json:"description"`
	// `AWS::Amplify::App.EnableBranchAutoDeletion`.
	EnableBranchAutoDeletion interface{} `json:"enableBranchAutoDeletion"`
	// `AWS::Amplify::App.EnvironmentVariables`.
	EnvironmentVariables interface{} `json:"environmentVariables"`
	// `AWS::Amplify::App.IAMServiceRole`.
	IamServiceRole *string `json:"iamServiceRole"`
	// `AWS::Amplify::App.OauthToken`.
	OauthToken *string `json:"oauthToken"`
	// `AWS::Amplify::App.Repository`.
	Repository *string `json:"repository"`
	// `AWS::Amplify::App.Tags`.
	Tags *[]*awscdk.CfnTag `json:"tags"`
}

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

type CfnApp_AutoBranchCreationConfigProperty

type CfnApp_AutoBranchCreationConfigProperty struct {
	// `CfnApp.AutoBranchCreationConfigProperty.AutoBranchCreationPatterns`.
	AutoBranchCreationPatterns *[]*string `json:"autoBranchCreationPatterns"`
	// `CfnApp.AutoBranchCreationConfigProperty.BasicAuthConfig`.
	BasicAuthConfig interface{} `json:"basicAuthConfig"`
	// `CfnApp.AutoBranchCreationConfigProperty.BuildSpec`.
	BuildSpec *string `json:"buildSpec"`
	// `CfnApp.AutoBranchCreationConfigProperty.EnableAutoBranchCreation`.
	EnableAutoBranchCreation interface{} `json:"enableAutoBranchCreation"`
	// `CfnApp.AutoBranchCreationConfigProperty.EnableAutoBuild`.
	EnableAutoBuild interface{} `json:"enableAutoBuild"`
	// `CfnApp.AutoBranchCreationConfigProperty.EnablePerformanceMode`.
	EnablePerformanceMode interface{} `json:"enablePerformanceMode"`
	// `CfnApp.AutoBranchCreationConfigProperty.EnablePullRequestPreview`.
	EnablePullRequestPreview interface{} `json:"enablePullRequestPreview"`
	// `CfnApp.AutoBranchCreationConfigProperty.EnvironmentVariables`.
	EnvironmentVariables interface{} `json:"environmentVariables"`
	// `CfnApp.AutoBranchCreationConfigProperty.PullRequestEnvironmentName`.
	PullRequestEnvironmentName *string `json:"pullRequestEnvironmentName"`
	// `CfnApp.AutoBranchCreationConfigProperty.Stage`.
	Stage *string `json:"stage"`
}

type CfnApp_BasicAuthConfigProperty

type CfnApp_BasicAuthConfigProperty struct {
	// `CfnApp.BasicAuthConfigProperty.EnableBasicAuth`.
	EnableBasicAuth interface{} `json:"enableBasicAuth"`
	// `CfnApp.BasicAuthConfigProperty.Password`.
	Password *string `json:"password"`
	// `CfnApp.BasicAuthConfigProperty.Username`.
	Username *string `json:"username"`
}

type CfnApp_CustomRuleProperty

type CfnApp_CustomRuleProperty struct {
	// `CfnApp.CustomRuleProperty.Source`.
	Source *string `json:"source"`
	// `CfnApp.CustomRuleProperty.Target`.
	Target *string `json:"target"`
	// `CfnApp.CustomRuleProperty.Condition`.
	Condition *string `json:"condition"`
	// `CfnApp.CustomRuleProperty.Status`.
	Status *string `json:"status"`
}

type CfnApp_EnvironmentVariableProperty

type CfnApp_EnvironmentVariableProperty struct {
	// `CfnApp.EnvironmentVariableProperty.Name`.
	Name *string `json:"name"`
	// `CfnApp.EnvironmentVariableProperty.Value`.
	Value *string `json:"value"`
}

type CfnBranch

type CfnBranch interface {
	awscdk.CfnResource
	awscdk.IInspectable
	AppId() *string
	SetAppId(val *string)
	AttrArn() *string
	AttrBranchName() *string
	BasicAuthConfig() interface{}
	SetBasicAuthConfig(val interface{})
	BranchName() *string
	SetBranchName(val *string)
	BuildSpec() *string
	SetBuildSpec(val *string)
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	CfnResourceType() *string
	CreationStack() *[]*string
	Description() *string
	SetDescription(val *string)
	EnableAutoBuild() interface{}
	SetEnableAutoBuild(val interface{})
	EnablePerformanceMode() interface{}
	SetEnablePerformanceMode(val interface{})
	EnablePullRequestPreview() interface{}
	SetEnablePullRequestPreview(val interface{})
	EnvironmentVariables() interface{}
	SetEnvironmentVariables(val interface{})
	LogicalId() *string
	Node() constructs.Node
	PullRequestEnvironmentName() *string
	SetPullRequestEnvironmentName(val *string)
	Ref() *string
	Stack() awscdk.Stack
	Stage() *string
	SetStage(val *string)
	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::Amplify::Branch`.

func NewCfnBranch

func NewCfnBranch(scope constructs.Construct, id *string, props *CfnBranchProps) CfnBranch

Create a new `AWS::Amplify::Branch`.

type CfnBranchProps

type CfnBranchProps struct {
	// `AWS::Amplify::Branch.AppId`.
	AppId *string `json:"appId"`
	// `AWS::Amplify::Branch.BranchName`.
	BranchName *string `json:"branchName"`
	// `AWS::Amplify::Branch.BasicAuthConfig`.
	BasicAuthConfig interface{} `json:"basicAuthConfig"`
	// `AWS::Amplify::Branch.BuildSpec`.
	BuildSpec *string `json:"buildSpec"`
	// `AWS::Amplify::Branch.Description`.
	Description *string `json:"description"`
	// `AWS::Amplify::Branch.EnableAutoBuild`.
	EnableAutoBuild interface{} `json:"enableAutoBuild"`
	// `AWS::Amplify::Branch.EnablePerformanceMode`.
	EnablePerformanceMode interface{} `json:"enablePerformanceMode"`
	// `AWS::Amplify::Branch.EnablePullRequestPreview`.
	EnablePullRequestPreview interface{} `json:"enablePullRequestPreview"`
	// `AWS::Amplify::Branch.EnvironmentVariables`.
	EnvironmentVariables interface{} `json:"environmentVariables"`
	// `AWS::Amplify::Branch.PullRequestEnvironmentName`.
	PullRequestEnvironmentName *string `json:"pullRequestEnvironmentName"`
	// `AWS::Amplify::Branch.Stage`.
	Stage *string `json:"stage"`
	// `AWS::Amplify::Branch.Tags`.
	Tags *[]*awscdk.CfnTag `json:"tags"`
}

Properties for defining a `AWS::Amplify::Branch`.

type CfnBranch_BasicAuthConfigProperty

type CfnBranch_BasicAuthConfigProperty struct {
	// `CfnBranch.BasicAuthConfigProperty.Password`.
	Password *string `json:"password"`
	// `CfnBranch.BasicAuthConfigProperty.Username`.
	Username *string `json:"username"`
	// `CfnBranch.BasicAuthConfigProperty.EnableBasicAuth`.
	EnableBasicAuth interface{} `json:"enableBasicAuth"`
}

type CfnBranch_EnvironmentVariableProperty

type CfnBranch_EnvironmentVariableProperty struct {
	// `CfnBranch.EnvironmentVariableProperty.Name`.
	Name *string `json:"name"`
	// `CfnBranch.EnvironmentVariableProperty.Value`.
	Value *string `json:"value"`
}

type CfnDomain

type CfnDomain interface {
	awscdk.CfnResource
	awscdk.IInspectable
	AppId() *string
	SetAppId(val *string)
	AttrArn() *string
	AttrAutoSubDomainCreationPatterns() *[]*string
	AttrAutoSubDomainIamRole() *string
	AttrCertificateRecord() *string
	AttrDomainName() *string
	AttrDomainStatus() *string
	AttrEnableAutoSubDomain() awscdk.IResolvable
	AttrStatusReason() *string
	AutoSubDomainCreationPatterns() *[]*string
	SetAutoSubDomainCreationPatterns(val *[]*string)
	AutoSubDomainIamRole() *string
	SetAutoSubDomainIamRole(val *string)
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	CfnResourceType() *string
	CreationStack() *[]*string
	DomainName() *string
	SetDomainName(val *string)
	EnableAutoSubDomain() interface{}
	SetEnableAutoSubDomain(val interface{})
	LogicalId() *string
	Node() constructs.Node
	Ref() *string
	Stack() awscdk.Stack
	SubDomainSettings() interface{}
	SetSubDomainSettings(val interface{})
	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::Amplify::Domain`.

func NewCfnDomain

func NewCfnDomain(scope constructs.Construct, id *string, props *CfnDomainProps) CfnDomain

Create a new `AWS::Amplify::Domain`.

type CfnDomainProps

type CfnDomainProps struct {
	// `AWS::Amplify::Domain.AppId`.
	AppId *string `json:"appId"`
	// `AWS::Amplify::Domain.DomainName`.
	DomainName *string `json:"domainName"`
	// `AWS::Amplify::Domain.SubDomainSettings`.
	SubDomainSettings interface{} `json:"subDomainSettings"`
	// `AWS::Amplify::Domain.AutoSubDomainCreationPatterns`.
	AutoSubDomainCreationPatterns *[]*string `json:"autoSubDomainCreationPatterns"`
	// `AWS::Amplify::Domain.AutoSubDomainIAMRole`.
	AutoSubDomainIamRole *string `json:"autoSubDomainIamRole"`
	// `AWS::Amplify::Domain.EnableAutoSubDomain`.
	EnableAutoSubDomain interface{} `json:"enableAutoSubDomain"`
}

Properties for defining a `AWS::Amplify::Domain`.

type CfnDomain_SubDomainSettingProperty

type CfnDomain_SubDomainSettingProperty struct {
	// `CfnDomain.SubDomainSettingProperty.BranchName`.
	BranchName *string `json:"branchName"`
	// `CfnDomain.SubDomainSettingProperty.Prefix`.
	Prefix *string `json:"prefix"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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