Class AppSyncEventResource
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appsync.AppSyncEventResource
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:28.830Z")
@Stability(Stable)
public class AppSyncEventResource
extends software.amazon.jsii.JsiiObject
A class used to generate resource arns for AppSync Event APIs.
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.*; AppSyncEventResource appSyncEventResource = AppSyncEventResource.all();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAppSyncEventResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedAppSyncEventResource(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic AppSyncEventResourceall()Generate the resource names that accepts all types:*.static AppSyncEventResourceGenerate the resource names that accepts all channel namespaces:*.static AppSyncEventResourceforAPI()Generate a resource for the calling API.static AppSyncEventResourceofChannelNamespace(String channelNamespace) Generate the resource names given a channel namespace.resourceArns(EventApiBase api) Return the Resource ARN.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
AppSyncEventResource
protected AppSyncEventResource(software.amazon.jsii.JsiiObjectRef objRef) -
AppSyncEventResource
protected AppSyncEventResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
all
Generate the resource names that accepts all types:*. -
allChannelNamespaces
Generate the resource names that accepts all channel namespaces:*. -
forAPI
Generate a resource for the calling API. -
ofChannelNamespace
@Stability(Stable) @NotNull public static AppSyncEventResource ofChannelNamespace(@NotNull String channelNamespace) Generate the resource names given a channel namespace.- Parameters:
channelNamespace- The channel namespace that needs to be allowed. This parameter is required.
-
resourceArns
Return the Resource ARN.- Parameters:
api- The AppSync API to give permissions. This parameter is required.
-