Documentation
¶
Index ¶
- type Args
- type AutoBranchCreationConfig
- type AutoBranchCreationConfigAttributes
- func (abcc AutoBranchCreationConfigAttributes) BasicAuthCredentials() terra.StringValue
- func (abcc AutoBranchCreationConfigAttributes) BuildSpec() terra.StringValue
- func (abcc AutoBranchCreationConfigAttributes) EnableAutoBuild() terra.BoolValue
- func (abcc AutoBranchCreationConfigAttributes) EnableBasicAuth() terra.BoolValue
- func (abcc AutoBranchCreationConfigAttributes) EnablePerformanceMode() terra.BoolValue
- func (abcc AutoBranchCreationConfigAttributes) EnablePullRequestPreview() terra.BoolValue
- func (abcc AutoBranchCreationConfigAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]
- func (abcc AutoBranchCreationConfigAttributes) Framework() terra.StringValue
- func (abcc AutoBranchCreationConfigAttributes) InternalRef() (terra.Reference, error)
- func (abcc AutoBranchCreationConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (abcc AutoBranchCreationConfigAttributes) InternalWithRef(ref terra.Reference) AutoBranchCreationConfigAttributes
- func (abcc AutoBranchCreationConfigAttributes) PullRequestEnvironmentName() terra.StringValue
- func (abcc AutoBranchCreationConfigAttributes) Stage() terra.StringValue
- type AutoBranchCreationConfigState
- type CustomRule
- type CustomRuleAttributes
- func (cr CustomRuleAttributes) Condition() terra.StringValue
- func (cr CustomRuleAttributes) InternalRef() (terra.Reference, error)
- func (cr CustomRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cr CustomRuleAttributes) InternalWithRef(ref terra.Reference) CustomRuleAttributes
- func (cr CustomRuleAttributes) Source() terra.StringValue
- func (cr CustomRuleAttributes) Status() terra.StringValue
- func (cr CustomRuleAttributes) Target() terra.StringValue
- type CustomRuleState
- type ProductionBranchAttributes
- func (pb ProductionBranchAttributes) BranchName() terra.StringValue
- func (pb ProductionBranchAttributes) InternalRef() (terra.Reference, error)
- func (pb ProductionBranchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pb ProductionBranchAttributes) InternalWithRef(ref terra.Reference) ProductionBranchAttributes
- func (pb ProductionBranchAttributes) LastDeployTime() terra.StringValue
- func (pb ProductionBranchAttributes) Status() terra.StringValue
- func (pb ProductionBranchAttributes) ThumbnailUrl() terra.StringValue
- type ProductionBranchState
- type Resource
- func (aaa *Resource) Attributes() awsAmplifyAppAttributes
- func (aaa *Resource) Configuration() interface{}
- func (aaa *Resource) DependOn() terra.Reference
- func (aaa *Resource) Dependencies() terra.Dependencies
- func (aaa *Resource) ImportState(state io.Reader) error
- func (aaa *Resource) LifecycleManagement() *terra.Lifecycle
- func (aaa *Resource) LocalName() string
- func (aaa *Resource) State() (*awsAmplifyAppState, bool)
- func (aaa *Resource) StateMust() *awsAmplifyAppState
- func (aaa *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AccessToken: string, optional AccessToken terra.StringValue `hcl:"access_token,attr"` // AutoBranchCreationPatterns: set of string, optional AutoBranchCreationPatterns terra.SetValue[terra.StringValue] `hcl:"auto_branch_creation_patterns,attr"` // BasicAuthCredentials: string, optional BasicAuthCredentials terra.StringValue `hcl:"basic_auth_credentials,attr"` // BuildSpec: string, optional BuildSpec terra.StringValue `hcl:"build_spec,attr"` // CustomHeaders: string, optional CustomHeaders terra.StringValue `hcl:"custom_headers,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // EnableAutoBranchCreation: bool, optional EnableAutoBranchCreation terra.BoolValue `hcl:"enable_auto_branch_creation,attr"` // EnableBasicAuth: bool, optional EnableBasicAuth terra.BoolValue `hcl:"enable_basic_auth,attr"` // EnableBranchAutoBuild: bool, optional EnableBranchAutoBuild terra.BoolValue `hcl:"enable_branch_auto_build,attr"` // EnableBranchAutoDeletion: bool, optional EnableBranchAutoDeletion terra.BoolValue `hcl:"enable_branch_auto_deletion,attr"` // EnvironmentVariables: map of string, optional EnvironmentVariables terra.MapValue[terra.StringValue] `hcl:"environment_variables,attr"` // IamServiceRoleArn: string, optional IamServiceRoleArn terra.StringValue `hcl:"iam_service_role_arn,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // OauthToken: string, optional OauthToken terra.StringValue `hcl:"oauth_token,attr"` // Platform: string, optional Platform terra.StringValue `hcl:"platform,attr"` // Repository: string, optional Repository terra.StringValue `hcl:"repository,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // AutoBranchCreationConfig: optional AutoBranchCreationConfig *AutoBranchCreationConfig `hcl:"auto_branch_creation_config,block"` // CustomRule: min=0 CustomRule []CustomRule `hcl:"custom_rule,block" validate:"min=0"` }
Args contains the configurations for aws_amplify_app.
type AutoBranchCreationConfig ¶
type AutoBranchCreationConfig struct { // BasicAuthCredentials: string, optional BasicAuthCredentials terra.StringValue `hcl:"basic_auth_credentials,attr"` // BuildSpec: string, optional BuildSpec terra.StringValue `hcl:"build_spec,attr"` // EnableAutoBuild: bool, optional EnableAutoBuild terra.BoolValue `hcl:"enable_auto_build,attr"` // EnableBasicAuth: bool, optional EnableBasicAuth terra.BoolValue `hcl:"enable_basic_auth,attr"` // EnablePerformanceMode: bool, optional EnablePerformanceMode terra.BoolValue `hcl:"enable_performance_mode,attr"` // EnablePullRequestPreview: bool, optional EnablePullRequestPreview terra.BoolValue `hcl:"enable_pull_request_preview,attr"` // EnvironmentVariables: map of string, optional EnvironmentVariables terra.MapValue[terra.StringValue] `hcl:"environment_variables,attr"` // Framework: string, optional Framework terra.StringValue `hcl:"framework,attr"` // PullRequestEnvironmentName: string, optional PullRequestEnvironmentName terra.StringValue `hcl:"pull_request_environment_name,attr"` // Stage: string, optional Stage terra.StringValue `hcl:"stage,attr"` }
type AutoBranchCreationConfigAttributes ¶
type AutoBranchCreationConfigAttributes struct {
// contains filtered or unexported fields
}
func (AutoBranchCreationConfigAttributes) BasicAuthCredentials ¶
func (abcc AutoBranchCreationConfigAttributes) BasicAuthCredentials() terra.StringValue
func (AutoBranchCreationConfigAttributes) BuildSpec ¶
func (abcc AutoBranchCreationConfigAttributes) BuildSpec() terra.StringValue
func (AutoBranchCreationConfigAttributes) EnableAutoBuild ¶
func (abcc AutoBranchCreationConfigAttributes) EnableAutoBuild() terra.BoolValue
func (AutoBranchCreationConfigAttributes) EnableBasicAuth ¶
func (abcc AutoBranchCreationConfigAttributes) EnableBasicAuth() terra.BoolValue
func (AutoBranchCreationConfigAttributes) EnablePerformanceMode ¶
func (abcc AutoBranchCreationConfigAttributes) EnablePerformanceMode() terra.BoolValue
func (AutoBranchCreationConfigAttributes) EnablePullRequestPreview ¶
func (abcc AutoBranchCreationConfigAttributes) EnablePullRequestPreview() terra.BoolValue
func (AutoBranchCreationConfigAttributes) EnvironmentVariables ¶
func (abcc AutoBranchCreationConfigAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]
func (AutoBranchCreationConfigAttributes) Framework ¶
func (abcc AutoBranchCreationConfigAttributes) Framework() terra.StringValue
func (AutoBranchCreationConfigAttributes) InternalRef ¶
func (abcc AutoBranchCreationConfigAttributes) InternalRef() (terra.Reference, error)
func (AutoBranchCreationConfigAttributes) InternalTokens ¶
func (abcc AutoBranchCreationConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoBranchCreationConfigAttributes) InternalWithRef ¶
func (abcc AutoBranchCreationConfigAttributes) InternalWithRef(ref terra.Reference) AutoBranchCreationConfigAttributes
func (AutoBranchCreationConfigAttributes) PullRequestEnvironmentName ¶
func (abcc AutoBranchCreationConfigAttributes) PullRequestEnvironmentName() terra.StringValue
func (AutoBranchCreationConfigAttributes) Stage ¶
func (abcc AutoBranchCreationConfigAttributes) Stage() terra.StringValue
type AutoBranchCreationConfigState ¶
type AutoBranchCreationConfigState struct { BasicAuthCredentials string `json:"basic_auth_credentials"` BuildSpec string `json:"build_spec"` EnableAutoBuild bool `json:"enable_auto_build"` EnableBasicAuth bool `json:"enable_basic_auth"` EnablePerformanceMode bool `json:"enable_performance_mode"` EnablePullRequestPreview bool `json:"enable_pull_request_preview"` EnvironmentVariables map[string]string `json:"environment_variables"` Framework string `json:"framework"` PullRequestEnvironmentName string `json:"pull_request_environment_name"` Stage string `json:"stage"` }
type CustomRule ¶
type CustomRule struct { // Condition: string, optional Condition terra.StringValue `hcl:"condition,attr"` // Source: string, required Source terra.StringValue `hcl:"source,attr" validate:"required"` // Status: string, optional Status terra.StringValue `hcl:"status,attr"` // Target: string, required Target terra.StringValue `hcl:"target,attr" validate:"required"` }
type CustomRuleAttributes ¶
type CustomRuleAttributes struct {
// contains filtered or unexported fields
}
func (CustomRuleAttributes) Condition ¶
func (cr CustomRuleAttributes) Condition() terra.StringValue
func (CustomRuleAttributes) InternalRef ¶
func (cr CustomRuleAttributes) InternalRef() (terra.Reference, error)
func (CustomRuleAttributes) InternalTokens ¶
func (cr CustomRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomRuleAttributes) InternalWithRef ¶
func (cr CustomRuleAttributes) InternalWithRef(ref terra.Reference) CustomRuleAttributes
func (CustomRuleAttributes) Source ¶
func (cr CustomRuleAttributes) Source() terra.StringValue
func (CustomRuleAttributes) Status ¶
func (cr CustomRuleAttributes) Status() terra.StringValue
func (CustomRuleAttributes) Target ¶
func (cr CustomRuleAttributes) Target() terra.StringValue
type CustomRuleState ¶
type ProductionBranchAttributes ¶
type ProductionBranchAttributes struct {
// contains filtered or unexported fields
}
func (ProductionBranchAttributes) BranchName ¶
func (pb ProductionBranchAttributes) BranchName() terra.StringValue
func (ProductionBranchAttributes) InternalRef ¶
func (pb ProductionBranchAttributes) InternalRef() (terra.Reference, error)
func (ProductionBranchAttributes) InternalTokens ¶
func (pb ProductionBranchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ProductionBranchAttributes) InternalWithRef ¶
func (pb ProductionBranchAttributes) InternalWithRef(ref terra.Reference) ProductionBranchAttributes
func (ProductionBranchAttributes) LastDeployTime ¶
func (pb ProductionBranchAttributes) LastDeployTime() terra.StringValue
func (ProductionBranchAttributes) Status ¶
func (pb ProductionBranchAttributes) Status() terra.StringValue
func (ProductionBranchAttributes) ThumbnailUrl ¶
func (pb ProductionBranchAttributes) ThumbnailUrl() terra.StringValue
type ProductionBranchState ¶
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_amplify_app.
func (*Resource) Attributes ¶
func (aaa *Resource) Attributes() awsAmplifyAppAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aaa *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aaa *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
Click to show internal directories.
Click to hide internal directories.