@Internal public static interface IEc2Service.Jsii$Default extends IEc2Service, IService.Jsii$Default
IEc2Service
.IEc2Service.Jsii$Default, IEc2Service.Jsii$Proxy
Modifier and Type | Method and Description |
---|---|
default ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
default ConstructNode |
getNode()
The construct tree node for this construct.
|
default String |
getServiceArn()
The Amazon Resource Name (ARN) of the service.
|
default String |
getServiceName()
The name of the service.
|
default Stack |
getStack()
The stack in which this resource is defined.
|
@Stability(value=Stable) @NotNull default ConstructNode getNode()
getNode
in interface IConstruct.Jsii$Default
getNode
in interface IResource.Jsii$Default
getNode
in interface IService.Jsii$Default
@Stability(value=Stable) @NotNull default ResourceEnvironment getEnv()
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
getEnv
in interface IResource
getEnv
in interface IResource.Jsii$Default
getEnv
in interface IService.Jsii$Default
@Stability(value=Stable) @NotNull default Stack getStack()
getStack
in interface IResource
getStack
in interface IResource.Jsii$Default
getStack
in interface IService.Jsii$Default
@Stability(value=Stable) @NotNull default String getServiceArn()
getServiceArn
in interface IService
getServiceArn
in interface IService.Jsii$Default
@Stability(value=Stable) @NotNull default String getServiceName()
getServiceName
in interface IService
getServiceName
in interface IService.Jsii$Default
Copyright © 2020. All rights reserved.