Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package io.github.cdklabs.awscdk.appsync.utils;
/**
* Directives for types.
*
* i.e. @aws_iam or @aws_subscribe
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-28T00:18:00.286Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.awscdk.appsync.utils.$Module.class, fqn = "awscdk-appsync-utils.Directive")
public class Directive extends software.amazon.jsii.JsiiObject {
protected Directive(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected Directive(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* Add the @aws_api_key directive.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static @org.jetbrains.annotations.NotNull io.github.cdklabs.awscdk.appsync.utils.Directive apiKey() {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.awscdk.appsync.utils.Directive.class, "apiKey", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.awscdk.appsync.utils.Directive.class));
}
/**
* Add the @aws_auth or @aws_cognito_user_pools directive.
*
* @param groups the groups to allow access to. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static @org.jetbrains.annotations.NotNull io.github.cdklabs.awscdk.appsync.utils.Directive cognito(final @org.jetbrains.annotations.NotNull java.lang.String... groups) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.awscdk.appsync.utils.Directive.class, "cognito", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.awscdk.appsync.utils.Directive.class), java.util.Arrays.