@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:17.497Z") @Stability(value=Stable) public class CfnEnvironment extends CfnResource implements IInspectable
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.*;
CfnEnvironment cfnEnvironment = CfnEnvironment.Builder.create(this, "MyCfnEnvironment")
.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 | Class and Description |
|---|---|
static class |
CfnEnvironment.Builder
A fluent builder for
CfnEnvironment. |
static interface |
CfnEnvironment.OptionSettingProperty
Example:
|
static interface |
CfnEnvironment.TierProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnEnvironment(software.constructs.Construct scope,
String id,
CfnEnvironmentProps props)
Create a new `AWS::ElasticBeanstalk::Environment`.
|
protected |
CfnEnvironment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnEnvironment(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationName()
`AWS::ElasticBeanstalk::Environment.ApplicationName`.
|
String |
getAttrEndpointUrl() |
protected Map<String,Object> |
getCfnProperties() |
String |
getCnamePrefix()
`AWS::ElasticBeanstalk::Environment.CNAMEPrefix`.
|
String |
getDescription()
`AWS::ElasticBeanstalk::Environment.Description`.
|
String |
getEnvironmentName()
`AWS::ElasticBeanstalk::Environment.EnvironmentName`.
|
String |
getOperationsRole()
`AWS::ElasticBeanstalk::Environment.OperationsRole`.
|
Object |
getOptionSettings()
`AWS::ElasticBeanstalk::Environment.OptionSettings`.
|
String |
getPlatformArn()
`AWS::ElasticBeanstalk::Environment.PlatformArn`.
|
String |
getSolutionStackName()
`AWS::ElasticBeanstalk::Environment.SolutionStackName`.
|
TagManager |
getTags()
`AWS::ElasticBeanstalk::Environment.Tags`.
|
String |
getTemplateName()
`AWS::ElasticBeanstalk::Environment.TemplateName`.
|
Object |
getTier()
`AWS::ElasticBeanstalk::Environment.Tier`.
|
String |
getVersionLabel()
`AWS::ElasticBeanstalk::Environment.VersionLabel`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setApplicationName(String value)
`AWS::ElasticBeanstalk::Environment.ApplicationName`.
|
void |
setCnamePrefix(String value)
`AWS::ElasticBeanstalk::Environment.CNAMEPrefix`.
|
void |
setDescription(String value)
`AWS::ElasticBeanstalk::Environment.Description`.
|
void |
setEnvironmentName(String value)
`AWS::ElasticBeanstalk::Environment.EnvironmentName`.
|
void |
setOperationsRole(String value)
`AWS::ElasticBeanstalk::Environment.OperationsRole`.
|
void |
setOptionSettings(IResolvable value)
`AWS::ElasticBeanstalk::Environment.OptionSettings`.
|
void |
setOptionSettings(List<Object> value)
`AWS::ElasticBeanstalk::Environment.OptionSettings`.
|
void |
setPlatformArn(String value)
`AWS::ElasticBeanstalk::Environment.PlatformArn`.
|
void |
setSolutionStackName(String value)
`AWS::ElasticBeanstalk::Environment.SolutionStackName`.
|
void |
setTemplateName(String value)
`AWS::ElasticBeanstalk::Environment.TemplateName`.
|
void |
setTier(CfnEnvironment.TierProperty value)
`AWS::ElasticBeanstalk::Environment.Tier`.
|
void |
setTier(IResolvable value)
`AWS::ElasticBeanstalk::Environment.Tier`.
|
void |
setVersionLabel(String value)
`AWS::ElasticBeanstalk::Environment.VersionLabel`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnEnvironment(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnEnvironment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnEnvironment(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnEnvironmentProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getApplicationName()
@Stability(value=Stable)
public void setApplicationName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getAttrEndpointUrl()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getCnamePrefix()
@Stability(value=Stable)
public void setCnamePrefix(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getEnvironmentName()
@Stability(value=Stable)
public void setEnvironmentName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getOperationsRole()
@Stability(value=Stable)
public void setOperationsRole(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getOptionSettings()
@Stability(value=Stable)
public void setOptionSettings(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setOptionSettings(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public String getPlatformArn()
@Stability(value=Stable)
public void setPlatformArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getSolutionStackName()
@Stability(value=Stable)
public void setSolutionStackName(@Nullable
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public String getTemplateName()
@Stability(value=Stable)
public void setTemplateName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getTier()
@Stability(value=Stable)
public void setTier(@Nullable
CfnEnvironment.TierProperty value)
@Stability(value=Stable)
public void setTier(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getVersionLabel()
@Stability(value=Stable)
public void setVersionLabel(@Nullable
String value)
Copyright © 2021. All rights reserved.