@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.108Z") @Stability(value=Stable) public class CfnWorkspace 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.aps.*;
CfnWorkspace cfnWorkspace = CfnWorkspace.Builder.create(this, "MyCfnWorkspace")
.alertManagerDefinition("alertManagerDefinition")
.alias("alias")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnWorkspace.Builder
A fluent builder for
CfnWorkspace. |
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 |
|---|---|
|
CfnWorkspace(software.constructs.Construct scope,
String id)
Create a new `AWS::APS::Workspace`.
|
|
CfnWorkspace(software.constructs.Construct scope,
String id,
CfnWorkspaceProps props)
Create a new `AWS::APS::Workspace`.
|
protected |
CfnWorkspace(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnWorkspace(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlertManagerDefinition()
`AWS::APS::Workspace.AlertManagerDefinition`.
|
String |
getAlias()
`AWS::APS::Workspace.Alias`.
|
String |
getAttrArn() |
String |
getAttrPrometheusEndpoint() |
String |
getAttrWorkspaceId() |
protected Map<String,Object> |
getCfnProperties() |
TagManager |
getTags()
`AWS::APS::Workspace.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAlertManagerDefinition(String value)
`AWS::APS::Workspace.AlertManagerDefinition`.
|
void |
setAlias(String value)
`AWS::APS::Workspace.Alias`.
|
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 CfnWorkspace(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnWorkspace(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnWorkspace(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnWorkspaceProps 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.@Stability(value=Stable)
public CfnWorkspace(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. 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) @Nullable public String getAlertManagerDefinition()
@Stability(value=Stable)
public void setAlertManagerDefinition(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getAlias()
@Stability(value=Stable)
public void setAlias(@Nullable
String value)
@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrPrometheusEndpoint()
@Stability(value=Stable) @NotNull public String getAttrWorkspaceId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
Copyright © 2021. All rights reserved.