Class: Aws::AppSync::Types::Api
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::AppSync::Types::Api
 
- Defined in:
- gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb
Overview
Describes an AppSync API. You can use Api for an AppSync API with
your preferred configuration, such as an Event API that provides
real-time message publishing and message subscriptions over
WebSockets.
Constant Summary collapse
- SENSITIVE =
- [] 
Instance Attribute Summary collapse
- 
  
    
      #api_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Amazon Resource Name (ARN) for the Api.
- 
  
    
      #api_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ApiID.
- 
  
    
      #created  ⇒ Time 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The date and time that the Apiwas created.
- 
  
    
      #dns  ⇒ Hash<String,String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The DNS records for the API. 
- 
  
    
      #event_config  ⇒ Types::EventConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Event API configuration. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the Api.
- 
  
    
      #owner_contact  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The owner contact information for the Api.
- 
  
    
      #tags  ⇒ Hash<String,String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A map with keys of TagKeyobjects and values ofTagValueobjects.
- 
  
    
      #waf_web_acl_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Amazon Resource Name (ARN) of the WAF web access control list (web ACL) associated with this Api, if one exists.
- 
  
    
      #xray_enabled  ⇒ Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A flag indicating whether to use X-Ray tracing for this Api.
Instance Attribute Details
#api_arn ⇒ String
The Amazon Resource Name (ARN) for the Api.
| 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | # File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 108 class Api < Struct.new( :api_id, :name, :owner_contact, :tags, :dns, :api_arn, :created, :xray_enabled, :waf_web_acl_arn, :event_config) SENSITIVE = [] include Aws::Structure end | 
#api_id ⇒ String
The Api ID.
| 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | # File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 108 class Api < Struct.new( :api_id, :name, :owner_contact, :tags, :dns, :api_arn, :created, :xray_enabled, :waf_web_acl_arn, :event_config) SENSITIVE = [] include Aws::Structure end | 
#created ⇒ Time
The date and time that the Api was created.
| 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | # File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 108 class Api < Struct.new( :api_id, :name, :owner_contact, :tags, :dns, :api_arn, :created, :xray_enabled, :waf_web_acl_arn, :event_config) SENSITIVE = [] include Aws::Structure end | 
#dns ⇒ Hash<String,String>
The DNS records for the API. This will include an HTTP and a real-time endpoint.
| 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | # File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 108 class Api < Struct.new( :api_id, :name, :owner_contact, :tags, :dns, :api_arn, :created, :xray_enabled, :waf_web_acl_arn, :event_config) SENSITIVE = [] include Aws::Structure end | 
#event_config ⇒ Types::EventConfig
The Event API configuration. This includes the default authorization configuration for connecting, publishing, and subscribing to an Event API.
| 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | # File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 108 class Api < Struct.new( :api_id, :name, :owner_contact, :tags, :dns, :api_arn, :created, :xray_enabled, :waf_web_acl_arn, :event_config) SENSITIVE = [] include Aws::Structure end | 
#name ⇒ String
The name of the Api.
| 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | # File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 108 class Api < Struct.new( :api_id, :name, :owner_contact, :tags, :dns, :api_arn, :created, :xray_enabled, :waf_web_acl_arn, :event_config) SENSITIVE = [] include Aws::Structure end | 
#owner_contact ⇒ String
The owner contact information for the Api
| 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | # File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 108 class Api < Struct.new( :api_id, :name, :owner_contact, :tags, :dns, :api_arn, :created, :xray_enabled, :waf_web_acl_arn, :event_config) SENSITIVE = [] include Aws::Structure end | 
#tags ⇒ Hash<String,String>
A map with keys of TagKey objects and values of TagValue
objects.
| 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | # File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 108 class Api < Struct.new( :api_id, :name, :owner_contact, :tags, :dns, :api_arn, :created, :xray_enabled, :waf_web_acl_arn, :event_config) SENSITIVE = [] include Aws::Structure end | 
#waf_web_acl_arn ⇒ String
The Amazon Resource Name (ARN) of the WAF web access control list
(web ACL) associated with this Api, if one exists.
| 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | # File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 108 class Api < Struct.new( :api_id, :name, :owner_contact, :tags, :dns, :api_arn, :created, :xray_enabled, :waf_web_acl_arn, :event_config) SENSITIVE = [] include Aws::Structure end | 
#xray_enabled ⇒ Boolean
A flag indicating whether to use X-Ray tracing for this Api.
| 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | # File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 108 class Api < Struct.new( :api_id, :name, :owner_contact, :tags, :dns, :api_arn, :created, :xray_enabled, :waf_web_acl_arn, :event_config) SENSITIVE = [] include Aws::Structure end |