Show / Hide Table of Contents

Class AppSyncEventResource

A class used to generate resource arns for AppSync Event APIs.

Inheritance
object
AppSyncEventResource
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AppSyncEventResource : DeputyBase
Syntax (vb)
Public Class AppSyncEventResource Inherits DeputyBase
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK.AWS.AppSync;

            var appSyncEventResource = AppSyncEventResource.All();

Synopsis

Methods

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(string)

Generate the resource names given a channel namespace.

ResourceArns(EventApiBase)

Return the Resource ARN.

Methods

All()

Generate the resource names that accepts all types: *.

public static AppSyncEventResource All()
Returns

AppSyncEventResource

Remarks

ExampleMetadata: fixture=_generated

AllChannelNamespaces()

Generate the resource names that accepts all channel namespaces: *.

public static AppSyncEventResource AllChannelNamespaces()
Returns

AppSyncEventResource

Remarks

ExampleMetadata: fixture=_generated

ForAPI()

Generate a resource for the calling API.

public static AppSyncEventResource ForAPI()
Returns

AppSyncEventResource

Remarks

ExampleMetadata: fixture=_generated

OfChannelNamespace(string)

Generate the resource names given a channel namespace.

public static AppSyncEventResource OfChannelNamespace(string channelNamespace)
Parameters
channelNamespace string

The channel namespace that needs to be allowed.

Returns

AppSyncEventResource

Remarks

ExampleMetadata: fixture=_generated

ResourceArns(EventApiBase)

Return the Resource ARN.

public virtual string[] ResourceArns(EventApiBase api)
Parameters
api EventApiBase

The AppSync API to give permissions.

Returns

string[]

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX