@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)",
date="2022-08-17T17:31:09.496Z")
public interface CfnEnvironmentProps
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.elasticbeanstalk.*; CfnEnvironmentProps cfnEnvironmentProps = CfnEnvironmentProps.builder() .applicationName("applicationName") // the properties below are optional .cnamePrefix("cnamePrefix") .description("description") .environmentName("environmentName") .operationsRole("operationsRole") .optionSettings(List.of(OptionSettingProperty.builder() .namespace("namespace") .optionName("optionName") // the properties below are optional .resourceName("resourceName") .value("value") .build())) .platformArn("platformArn") .solutionStackName("solutionStackName") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .templateName("templateName") .tier(TierProperty.builder() .name("name") .type("type") .version("version") .build()) .versionLabel("versionLabel") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnEnvironmentProps.Builder
A builder for
CfnEnvironmentProps |
static class |
CfnEnvironmentProps.Jsii$Proxy
An implementation for
CfnEnvironmentProps |
Modifier and Type | Method and Description |
---|---|
static CfnEnvironmentProps.Builder |
builder() |
java.lang.String |
getApplicationName()
The name of the application that is associated with this environment.
|
default java.lang.String |
getCnamePrefix()
If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL.
|
default java.lang.String |
getDescription()
Your description for this environment.
|
default java.lang.String |
getEnvironmentName()
A unique name for the environment.
|
default java.lang.String |
getOperationsRole()
> The operations role feature of AWS Elastic Beanstalk is in beta release and is subject to change.
|
default java.lang.Object |
getOptionSettings()
Key-value pairs defining configuration options for this environment, such as the instance type.
|
default java.lang.String |
getPlatformArn()
The Amazon Resource Name (ARN) of the custom platform to use with the environment.
|
default java.lang.String |
getSolutionStackName()
The name of an Elastic Beanstalk solution stack (platform version) to use with the environment.
|
default java.util.List<CfnTag> |
getTags()
Specifies the tags applied to resources in the environment.
|
default java.lang.String |
getTemplateName()
The name of the Elastic Beanstalk configuration template to use with the environment.
|
default java.lang.Object |
getTier()
Specifies the tier to use in creating this environment.
|
default java.lang.String |
getVersionLabel()
The name of the application version to deploy.
|
java.lang.String getApplicationName()
default java.lang.String getCnamePrefix()
If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
default java.lang.String getDescription()
default java.lang.String getEnvironmentName()
Constraint: Must be from 4 to 40 characters in length. The name can contain only letters, numbers, and hyphens. It can't start or end with a hyphen. This name must be unique within a region in your account.
If you don't specify the CNAMEPrefix
parameter, the environment name becomes part of the CNAME, and therefore part of the visible URL for your application.
If you don't specify an environment name, AWS CloudFormation generates a unique physical ID and uses that ID for the environment name. For more information, see Name Type .
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
default java.lang.String getOperationsRole()
The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role. If specified, Elastic Beanstalk uses the operations role for permissions to downstream services during this call and during subsequent calls acting on this environment. To specify an operations role, you must have the iam:PassRole
permission for the role.
default java.lang.Object getOptionSettings()
These options override the values that are defined in the solution stack or the configuration template . If you remove any options during a stack update, the removed options retain their current values.
default java.lang.String getPlatformArn()
For more information, see Custom Platforms in the AWS Elastic Beanstalk Developer Guide .
If you specify
PlatformArn
, don't specifySolutionStackName
.
default java.lang.String getSolutionStackName()
If specified, Elastic Beanstalk sets the configuration values to the default values associated with the specified solution stack. For a list of current solution stacks, see Elastic Beanstalk Supported Platforms in the AWS Elastic Beanstalk Platforms guide.
If you specify
SolutionStackName
, don't specifyPlatformArn
orTemplateName
.
default java.util.List<CfnTag> getTags()
default java.lang.String getTemplateName()
If you specify
TemplateName
, then don't specifySolutionStackName
.
default java.lang.Object getTier()
The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.
default java.lang.String getVersionLabel()
Default: If not specified, Elastic Beanstalk attempts to deploy the sample application.
static CfnEnvironmentProps.Builder builder()
CfnEnvironmentProps.Builder
of CfnEnvironmentProps