Interface EventApiAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EventApiAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.110.0 (build 336b265)",
date="2025-04-22T23:08:07.371Z")
@Stability(Stable)
public interface EventApiAttributes
extends software.amazon.jsii.JsiiSerializable
Attributes for Event API imports.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appsync.*;
EventApiAttributes eventApiAttributes = EventApiAttributes.builder()
.apiArn("apiArn")
.apiId("apiId")
.apiName("apiName")
.httpDns("httpDns")
.realtimeDns("realtimeDns")
// the properties below are optional
.authProviderTypes(List.of(AppSyncAuthorizationType.API_KEY))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEventApiAttributesstatic final classAn implementation forEventApiAttributes -
Method Summary
Modifier and TypeMethodDescriptionstatic EventApiAttributes.Builderbuilder()the ARN of the Event API.getApiId()an unique AWS AppSync Event API identifier i.e.the name of the Event API.default List<AppSyncAuthorizationType>The Authorization Types for this Event Api.the domain name of the Api's HTTP endpoint.the domain name of the Api's real-time endpoint.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiArn
the ARN of the Event API. -
getApiId
an unique AWS AppSync Event API identifier i.e. 'lxz775lwdrgcndgz3nurvac7oa'. -
getApiName
the name of the Event API. -
getHttpDns
the domain name of the Api's HTTP endpoint. -
getRealtimeDns
the domain name of the Api's real-time endpoint. -
getAuthProviderTypes
The Authorization Types for this Event Api.Default: - none, required to construct event rules from imported APIs
-
builder
- Returns:
- a
EventApiAttributes.BuilderofEventApiAttributes
-