Class: Aws::AppRunner::Types::AssociateCustomDomainRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb

Overview

Note:

When making an API call, you may pass AssociateCustomDomainRequest data as a hash:

{
  service_arn: "AppRunnerResourceArn", # required
  domain_name: "DomainName", # required
  enable_www_subdomain: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#domain_nameString

A custom domain endpoint to associate. Specify a root domain (for example, example.com), a subdomain (for example, login.example.com or admin.login.example.com), or a wildcard (for example, *.example.com).

Returns:

  • (String)


43
44
45
46
47
48
49
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 43

class AssociateCustomDomainRequest < Struct.new(
  :service_arn,
  :domain_name,
  :enable_www_subdomain)
  SENSITIVE = []
  include Aws::Structure
end

#enable_www_subdomainBoolean

Set to true to associate the subdomain www.DomainName with the App Runner service in addition to the base domain.

Default: true

Returns:

  • (Boolean)


43
44
45
46
47
48
49
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 43

class AssociateCustomDomainRequest < Struct.new(
  :service_arn,
  :domain_name,
  :enable_www_subdomain)
  SENSITIVE = []
  include Aws::Structure
end

#service_arnString

The Amazon Resource Name (ARN) of the App Runner service that you want to associate a custom domain name with.

Returns:

  • (String)


43
44
45
46
47
48
49
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 43

class AssociateCustomDomainRequest < Struct.new(
  :service_arn,
  :domain_name,
  :enable_www_subdomain)
  SENSITIVE = []
  include Aws::Structure
end