Interface EventApiAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EventApiAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:05.279Z")
@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()
.apiId("apiId")
.httpDns("httpDns")
.realtimeDns("realtimeDns")
// the properties below are optional
.apiArn("apiArn")
.apiName("apiName")
.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()default Stringthe ARN of the Event API.getApiId()an unique AWS AppSync Event API identifier i.e.default Stringthe 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
-
getApiId
an unique AWS AppSync Event API identifier i.e. 'lxz775lwdrgcndgz3nurvac7oa'. -
getHttpDns
the domain name of the Api's HTTP endpoint. -
getRealtimeDns
the domain name of the Api's real-time endpoint. -
getApiArn
the ARN of the Event API.Default: - constructed arn
-
getApiName
the name of the Event API.Default: - not needed to import API
-
getAuthProviderTypes
The Authorization Types for this Event Api.Default: - none, required to construct event rules from imported APIs
-
builder
- Returns:
- a
EventApiAttributes.BuilderofEventApiAttributes
-