Documentation ¶
Index ¶
- func CfnService_CFN_RESOURCE_TYPE_NAME() *string
- func CfnService_IsCfnElement(x interface{}) *bool
- func CfnService_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnService_IsConstruct(x interface{}) *bool
- func NewCfnService_Override(c CfnService, scope constructs.Construct, id *string, props *CfnServiceProps)
- type CfnService
- type CfnServiceProps
- type CfnService_AuthenticationConfigurationProperty
- type CfnService_CodeConfigurationProperty
- type CfnService_CodeConfigurationValuesProperty
- type CfnService_CodeRepositoryProperty
- type CfnService_EncryptionConfigurationProperty
- type CfnService_HealthCheckConfigurationProperty
- type CfnService_ImageConfigurationProperty
- type CfnService_ImageRepositoryProperty
- type CfnService_InstanceConfigurationProperty
- type CfnService_KeyValuePairProperty
- type CfnService_SourceCodeVersionProperty
- type CfnService_SourceConfigurationProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnService_CFN_RESOURCE_TYPE_NAME ¶
func CfnService_CFN_RESOURCE_TYPE_NAME() *string
func CfnService_IsCfnElement ¶
func CfnService_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 CfnService_IsCfnResource ¶
func CfnService_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnService_IsConstruct ¶
func CfnService_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 NewCfnService_Override ¶
func NewCfnService_Override(c CfnService, scope constructs.Construct, id *string, props *CfnServiceProps)
Create a new `AWS::AppRunner::Service`.
Types ¶
type CfnService ¶
type CfnService interface { awscdk.CfnResource awscdk.IInspectable AttrServiceArn() *string AttrServiceId() *string AttrServiceUrl() *string AttrStatus() *string AutoScalingConfigurationArn() *string SetAutoScalingConfigurationArn(val *string) CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string EncryptionConfiguration() interface{} SetEncryptionConfiguration(val interface{}) HealthCheckConfiguration() interface{} SetHealthCheckConfiguration(val interface{}) InstanceConfiguration() interface{} SetInstanceConfiguration(val interface{}) LogicalId() *string Node() constructs.Node Ref() *string ServiceName() *string SetServiceName(val *string) SourceConfiguration() interface{} SetSourceConfiguration(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::AppRunner::Service`.
TODO: EXAMPLE
func NewCfnService ¶
func NewCfnService(scope constructs.Construct, id *string, props *CfnServiceProps) CfnService
Create a new `AWS::AppRunner::Service`.
type CfnServiceProps ¶
type CfnServiceProps struct { // `AWS::AppRunner::Service.AutoScalingConfigurationArn`. AutoScalingConfigurationArn *string `json:"autoScalingConfigurationArn"` // `AWS::AppRunner::Service.EncryptionConfiguration`. EncryptionConfiguration interface{} `json:"encryptionConfiguration"` // `AWS::AppRunner::Service.HealthCheckConfiguration`. HealthCheckConfiguration interface{} `json:"healthCheckConfiguration"` // `AWS::AppRunner::Service.InstanceConfiguration`. InstanceConfiguration interface{} `json:"instanceConfiguration"` // `AWS::AppRunner::Service.ServiceName`. ServiceName *string `json:"serviceName"` // `AWS::AppRunner::Service.SourceConfiguration`. SourceConfiguration interface{} `json:"sourceConfiguration"` // `AWS::AppRunner::Service.Tags`. Tags *[]*awscdk.CfnTag `json:"tags"` }
Properties for defining a `AWS::AppRunner::Service`.
TODO: EXAMPLE
type CfnService_AuthenticationConfigurationProperty ¶
type CfnService_AuthenticationConfigurationProperty struct { // `CfnService.AuthenticationConfigurationProperty.AccessRoleArn`. AccessRoleArn *string `json:"accessRoleArn"` // `CfnService.AuthenticationConfigurationProperty.ConnectionArn`. ConnectionArn *string `json:"connectionArn"` }
TODO: EXAMPLE
type CfnService_CodeConfigurationProperty ¶
type CfnService_CodeConfigurationProperty struct { // `CfnService.CodeConfigurationProperty.CodeConfigurationValues`. CodeConfigurationValues interface{} `json:"codeConfigurationValues"` // `CfnService.CodeConfigurationProperty.ConfigurationSource`. ConfigurationSource *string `json:"configurationSource"` }
TODO: EXAMPLE
type CfnService_CodeConfigurationValuesProperty ¶
type CfnService_CodeConfigurationValuesProperty struct { // `CfnService.CodeConfigurationValuesProperty.BuildCommand`. BuildCommand *string `json:"buildCommand"` // `CfnService.CodeConfigurationValuesProperty.Port`. Port *string `json:"port"` // `CfnService.CodeConfigurationValuesProperty.Runtime`. Runtime *string `json:"runtime"` // `CfnService.CodeConfigurationValuesProperty.RuntimeEnvironmentVariables`. RuntimeEnvironmentVariables interface{} `json:"runtimeEnvironmentVariables"` // `CfnService.CodeConfigurationValuesProperty.StartCommand`. StartCommand *string `json:"startCommand"` }
TODO: EXAMPLE
type CfnService_CodeRepositoryProperty ¶
type CfnService_CodeRepositoryProperty struct { // `CfnService.CodeRepositoryProperty.CodeConfiguration`. CodeConfiguration interface{} `json:"codeConfiguration"` // `CfnService.CodeRepositoryProperty.RepositoryUrl`. RepositoryUrl *string `json:"repositoryUrl"` // `CfnService.CodeRepositoryProperty.SourceCodeVersion`. SourceCodeVersion interface{} `json:"sourceCodeVersion"` }
TODO: EXAMPLE
type CfnService_EncryptionConfigurationProperty ¶
type CfnService_EncryptionConfigurationProperty struct { // `CfnService.EncryptionConfigurationProperty.KmsKey`. KmsKey *string `json:"kmsKey"` }
TODO: EXAMPLE
type CfnService_HealthCheckConfigurationProperty ¶
type CfnService_HealthCheckConfigurationProperty struct { // `CfnService.HealthCheckConfigurationProperty.HealthyThreshold`. HealthyThreshold *float64 `json:"healthyThreshold"` // `CfnService.HealthCheckConfigurationProperty.Interval`. Interval *float64 `json:"interval"` // `CfnService.HealthCheckConfigurationProperty.Path`. Path *string `json:"path"` // `CfnService.HealthCheckConfigurationProperty.Protocol`. Protocol *string `json:"protocol"` // `CfnService.HealthCheckConfigurationProperty.Timeout`. Timeout *float64 `json:"timeout"` // `CfnService.HealthCheckConfigurationProperty.UnhealthyThreshold`. UnhealthyThreshold *float64 `json:"unhealthyThreshold"` }
TODO: EXAMPLE
type CfnService_ImageConfigurationProperty ¶
type CfnService_ImageConfigurationProperty struct { // `CfnService.ImageConfigurationProperty.Port`. Port *string `json:"port"` // `CfnService.ImageConfigurationProperty.RuntimeEnvironmentVariables`. RuntimeEnvironmentVariables interface{} `json:"runtimeEnvironmentVariables"` // `CfnService.ImageConfigurationProperty.StartCommand`. StartCommand *string `json:"startCommand"` }
TODO: EXAMPLE
type CfnService_ImageRepositoryProperty ¶
type CfnService_ImageRepositoryProperty struct { // `CfnService.ImageRepositoryProperty.ImageConfiguration`. ImageConfiguration interface{} `json:"imageConfiguration"` // `CfnService.ImageRepositoryProperty.ImageIdentifier`. ImageIdentifier *string `json:"imageIdentifier"` // `CfnService.ImageRepositoryProperty.ImageRepositoryType`. ImageRepositoryType *string `json:"imageRepositoryType"` }
TODO: EXAMPLE
type CfnService_InstanceConfigurationProperty ¶
type CfnService_InstanceConfigurationProperty struct { // `CfnService.InstanceConfigurationProperty.Cpu`. Cpu *string `json:"cpu"` // `CfnService.InstanceConfigurationProperty.InstanceRoleArn`. InstanceRoleArn *string `json:"instanceRoleArn"` // `CfnService.InstanceConfigurationProperty.Memory`. Memory *string `json:"memory"` }
TODO: EXAMPLE
type CfnService_KeyValuePairProperty ¶
type CfnService_KeyValuePairProperty struct { // `CfnService.KeyValuePairProperty.Name`. Name *string `json:"name"` // `CfnService.KeyValuePairProperty.Value`. Value *string `json:"value"` }
TODO: EXAMPLE
type CfnService_SourceCodeVersionProperty ¶
type CfnService_SourceCodeVersionProperty struct { // `CfnService.SourceCodeVersionProperty.Type`. Type *string `json:"type"` // `CfnService.SourceCodeVersionProperty.Value`. Value *string `json:"value"` }
TODO: EXAMPLE
type CfnService_SourceConfigurationProperty ¶
type CfnService_SourceConfigurationProperty struct { // `CfnService.SourceConfigurationProperty.AuthenticationConfiguration`. AuthenticationConfiguration interface{} `json:"authenticationConfiguration"` // `CfnService.SourceConfigurationProperty.AutoDeploymentsEnabled`. AutoDeploymentsEnabled interface{} `json:"autoDeploymentsEnabled"` // `CfnService.SourceConfigurationProperty.CodeRepository`. CodeRepository interface{} `json:"codeRepository"` // `CfnService.SourceConfigurationProperty.ImageRepository`. ImageRepository interface{} `json:"imageRepository"` }
TODO: EXAMPLE