public enum ArtifactResources extends Enum<ArtifactResources>
Enum Constant and Description |
---|
API_GATEWAY_REST_API |
APP_SYNC_GRAPHQL_SCHEMA |
CLOUD_FORMATION_STACK |
ELASTIC_BEANSTALK_APPLICATION_VERSION |
LAMBDA_FUNCTION |
LAMBDA_LAYER_VERSION |
SERVERLESS_API |
SERVERLESS_FUNCTION |
SERVERLESS_LAYER_VERSION |
Modifier and Type | Method and Description |
---|---|
static ArtifactResources |
fromType(String resourceType)
Returns a resource enum corresponding to the given resource type.
|
String |
getArtifactsPathProperty() |
BucketProperties |
getBucketProperties() |
String |
getType() |
boolean |
hasBucketProperties() |
boolean |
isForceZip() |
boolean |
isWorkspacePackageAllowed() |
static ArtifactResources |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArtifactResources[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArtifactResources SERVERLESS_FUNCTION
public static final ArtifactResources SERVERLESS_API
public static final ArtifactResources APP_SYNC_GRAPHQL_SCHEMA
public static final ArtifactResources API_GATEWAY_REST_API
public static final ArtifactResources LAMBDA_FUNCTION
public static final ArtifactResources ELASTIC_BEANSTALK_APPLICATION_VERSION
public static final ArtifactResources CLOUD_FORMATION_STACK
public static final ArtifactResources SERVERLESS_LAYER_VERSION
public static final ArtifactResources LAMBDA_LAYER_VERSION
public static ArtifactResources[] values()
for (ArtifactResources c : ArtifactResources.values()) System.out.println(c);
public static ArtifactResources valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getType()
public String getArtifactsPathProperty()
public boolean isWorkspacePackageAllowed()
public boolean isForceZip()
public BucketProperties getBucketProperties()
public boolean hasBucketProperties()
public static ArtifactResources fromType(String resourceType)
resourceType
- The type of the resource, ex.: AWS::Serverless::Function.Copyright © 2016–2024 Trek10, Inc.. All rights reserved.