Interface IResource.Jsii$Default

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IAccelerator.Jsii$Default, IAccessEntry.Jsii$Default, IAccessKey.Jsii$Default, IAccessPoint.Jsii$Default, IAccessPoint.Jsii$Default, IAccountAuditConfiguration.Jsii$Default, IActivity.Jsii$Default, IAddon.Jsii$Default, IAlarm.Jsii$Default, IAlias.Jsii$Default, IAlias.Jsii$Default, IAlias.Jsii$Default, IApi.Jsii$Default, IApiDestination.Jsii$Default, IApiKey.Jsii$Default, IApiMapping.Jsii$Default, IApp.Jsii$Default, IApplication.Jsii$Default, IApplication.Jsii$Default, IApplication.Jsii$Default, IApplicationListener.Jsii$Default, IApplicationLoadBalancer.Jsii$Default, IAppsyncFunction.Jsii$Default, IAttributeGroup.Jsii$Default, IAuroraClusterInstance.Jsii$Default, IAuthorizer.Jsii$Default, IAutoScalingConfiguration.Jsii$Default, IAutoScalingGroup.Jsii$Default, IBackupPlan.Jsii$Default, IBackupVault.Jsii$Default, IBaseService.Jsii$Default, IBranch.Jsii$Default, IBucket.Jsii$Default, IBuild.Jsii$Default, IBuildFleet.Jsii$Default, ICertificate.Jsii$Default, ICertificateAuthority.Jsii$Default, IChannel.Jsii$Default, IClientVpnEndpoint.Jsii$Default, ICluster.Jsii$Default, ICluster.Jsii$Default, ICluster.Jsii$Default, ICluster.Jsii$Default, IClusterParameterGroup.Jsii$Default, IClusterParameterGroup.Jsii$Default, IClusterParameterGroup.Jsii$Default, IClusterSubnetGroup.Jsii$Default, ICodeSigningConfig.Jsii$Default, IComputeEnvironment.Jsii$Default, IConfigurationSet.Jsii$Default, IConfigurationSetEventDestination.Jsii$Default, IConnection.Jsii$Default, IConnection.Jsii$Default, IDatabase.Jsii$Default, IDatabaseCluster.Jsii$Default, IDatabaseCluster.Jsii$Default, IDatabaseCluster.Jsii$Default, IDatabaseInstance.Jsii$Default, IDatabaseInstance.Jsii$Default, IDatabaseInstance.Jsii$Default, IDatabaseProxy.Jsii$Default, IDataQualityRuleset.Jsii$Default, IDedicatedIpPool.Jsii$Default, IDeliveryStream.Jsii$Default, IDeliveryStream.Jsii$Default, IDeploymentStrategy.Jsii$Default, IDetectorModel.Jsii$Default, IDistribution.Jsii$Default, IDomain.Jsii$Default, IDomain.Jsii$Default, IDomainName.Jsii$Default, IDomainName.Jsii$Default, IEc2Environment.Jsii$Default, IEc2Service.Jsii$Default, IEc2TaskDefinition.Jsii$Default, IEcsApplication.Jsii$Default, IEcsDeploymentGroup.Jsii$Default, IEksJobDefinition.Jsii$Default, IEmailIdentity.Jsii$Default, IEndpoint.Jsii$Default, IEndpoint.Jsii$Default, IEndpointConfig.Jsii$Default, IEndpointGroup.Jsii$Default, IEnvironment.Jsii$Default, IEventBus.Jsii$Default, IEventSourceMapping.Jsii$Default, IExtension.Jsii$Default, IExternalService.Jsii$Default, IExternalTaskDefinition.Jsii$Default, IFairshareSchedulingPolicy.Jsii$Default, IFargateComputeEnvironment.Jsii$Default, IFargateService.Jsii$Default, IFargateTaskDefinition.Jsii$Default, IFileSystem.Jsii$Default, IFirewallDomainList.Jsii$Default, IFirewallRuleGroup.Jsii$Default, IFleet.Jsii$Default, IFleet.Jsii$Default, IFlowLog.Jsii$Default, IFunction.Jsii$Default, IFunction.Jsii$Default, IFunctionUrl.Jsii$Default, IGameServerGroup.Jsii$Default, IGameSessionQueue.Jsii$Default, IGatewayResponse.Jsii$Default, IGatewayRoute.Jsii$Default, IGatewayVpcEndpoint.Jsii$Default, IGeofenceCollection.Jsii$Default, IGitHubRepository.Jsii$Default, IGraphqlApi.Jsii$Default, IGroup.Jsii$Default, IGroup.Jsii$Default, IHostedZone.Jsii$Default, IHttpApi.Jsii$Default, IHttpAuthorizer.Jsii$Default, IHttpIntegration.Jsii$Default, IHttpNamespace.Jsii$Default, IHttpRoute.Jsii$Default, IHttpStage.Jsii$Default, IIdentity.Jsii$Default, IIdentityPool.Jsii$Default, IIdentityPoolRoleAttachment.Jsii$Default, IInput.Jsii$Default, IInstance.Jsii$Default, IInstance.Jsii$Default, IInstanceProfile.Jsii$Default, IIntegration.Jsii$Default, IInterfaceVpcEndpoint.Jsii$Default, IJob.Jsii$Default, IJobDefinition.Jsii$Default, IJobQueue.Jsii$Default, IKey.Jsii$Default, IKeyGroup.Jsii$Default, IKeyPair.Jsii$Default, IKeySigningKey.Jsii$Default, IKeyValueStore.Jsii$Default, ILambdaApplication.Jsii$Default, ILambdaDeploymentGroup.Jsii$Default, ILaunchTemplate.Jsii$Default, ILayerVersion.Jsii$Default, ILifecycleHook.Jsii$Default, IListener.Jsii$Default, IListener.Jsii$Default, ILoadBalancerV2.Jsii$Default, ILogging.Jsii$Default, ILogGroup.Jsii$Default, ILogStream.Jsii$Default, IManagedComputeEnvironment.Jsii$Default, IManagedEc2EcsComputeEnvironment.Jsii$Default, IMap.Jsii$Default, IMatchmakingConfiguration.Jsii$Default, IMatchmakingRuleSet.Jsii$Default, IMesh.Jsii$Default, IModel.Jsii$Default, INamespace.Jsii$Default, INetworkAcl.Jsii$Default, INetworkAclEntry.Jsii$Default, INetworkListener.Jsii$Default, INetworkLoadBalancer.Jsii$Default, INodegroup.Jsii$Default, INotificationRule.Jsii$Default, IObservabilityConfiguration.Jsii$Default, IOpenIdConnectProvider.Jsii$Default, IOptionGroup.Jsii$Default, IOriginAccessControl.Jsii$Default, IOriginAccessIdentity.Jsii$Default, IParameter.Jsii$Default, IParameterGroup.Jsii$Default, IParameterGroup.Jsii$Default, IPipe.Jsii$Default, IPipeline.Jsii$Default, IPipeline.Jsii$Default, IPlaceIndex.Jsii$Default, IPlacementGroup.Jsii$Default, IPlaybackKeyPair.Jsii$Default, IPolicy.Jsii$Default, IPortfolio.Jsii$Default, IPrefixList.Jsii$Default, IPrivateDnsNamespace.Jsii$Default, IPrivateHostedZone.Jsii$Default, IPrivateSubnet.Jsii$Default, IProduct.Jsii$Default, IProfilingGroup.Jsii$Default, IProject.Jsii$Default, IPublicDnsNamespace.Jsii$Default, IPublicHostedZone.Jsii$Default, IPublicKey.Jsii$Default, IPublicSubnet.Jsii$Default, IQueue.Jsii$Default, IRealtimeLogConfig.Jsii$Default, IReceiptRule.Jsii$Default, IReceiptRuleSet.Jsii$Default, IRecordingConfiguration.Jsii$Default, IRecordSet.Jsii$Default, IReportGroup.Jsii$Default, IRepository.Jsii$Default, IRepository.Jsii$Default, IRequestValidator.Jsii$Default, IResource.Jsii$Default, IResourceWithPolicy.Jsii$Default, IRestApi.Jsii$Default, IRole.Jsii$Default, IRoute.Jsii$Default, IRoute.Jsii$Default, IRouteCalculator.Jsii$Default, IRouteV2.Jsii$Default, IRule.Jsii$Default, IRule.Jsii$Default, ISamlProvider.Jsii$Default, IScalableTarget.Jsii$Default, ISchedule.Jsii$Default, IScheduledAudit.Jsii$Default, ISchedulingPolicy.Jsii$Default, IScript.Jsii$Default, ISecret.Jsii$Default, ISecretTargetAttachment.Jsii$Default, ISecurityConfiguration.Jsii$Default, ISecurityGroup.Jsii$Default, IServerApplication.Jsii$Default, IServerDeploymentGroup.Jsii$Default, IServerlessCluster.Jsii$Default, IService.Jsii$Default, IService.Jsii$Default, IService.Jsii$Default, ISigningProfile.Jsii$Default, ISlackChannelConfiguration.Jsii$Default, ISourceApiAssociation.Jsii$Default, IStage.Jsii$Default, IStage.Jsii$Default, IStateMachine.Jsii$Default, IStream.Jsii$Default, IStreamKey.Jsii$Default, IStringListParameter.Jsii$Default, IStringParameter.Jsii$Default, ISubnet.Jsii$Default, ISubnetGroup.Jsii$Default, ISubnetGroup.Jsii$Default, ISubnetNetworkAclAssociation.Jsii$Default, ISubnetV2.Jsii$Default, ITable.Jsii$Default, ITable.Jsii$Default, ITableV2.Jsii$Default, ITaskDefinition.Jsii$Default, ITopic.Jsii$Default, ITopicRule.Jsii$Default, ITracker.Jsii$Default, ITrustStore.Jsii$Default, IUnmanagedComputeEnvironment.Jsii$Default, IUsagePlan.Jsii$Default, IUser.Jsii$Default, IUserPool.Jsii$Default, IUserPoolClient.Jsii$Default, IUserPoolDomain.Jsii$Default, IUserPoolGroup.Jsii$Default, IUserPoolIdentityProvider.Jsii$Default, IUserPoolResourceServer.Jsii$Default, IVdmAttributes.Jsii$Default, IVersion.Jsii$Default, IVirtualGateway.Jsii$Default, IVirtualNode.Jsii$Default, IVirtualRouter.Jsii$Default, IVirtualService.Jsii$Default, IVolume.Jsii$Default, IVpc.Jsii$Default, IVpcConnector.Jsii$Default, IVpcEndpoint.Jsii$Default, IVpcEndpointService.Jsii$Default, IVpcIngressConnection.Jsii$Default, IVpcLink.Jsii$Default, IVpcLink.Jsii$Default, IVpcV2.Jsii$Default, IVpnConnection.Jsii$Default, IVpnGateway.Jsii$Default, IWebSocketApi.Jsii$Default, IWebSocketAuthorizer.Jsii$Default, IWebSocketIntegration.Jsii$Default, IWebSocketRoute.Jsii$Default, IWebSocketStage.Jsii$Default
All Known Implementing Classes:
IAccelerator.Jsii$Proxy, IAccessEntry.Jsii$Proxy, IAccessKey.Jsii$Proxy, IAccessPoint.Jsii$Proxy, IAccessPoint.Jsii$Proxy, IAccountAuditConfiguration.Jsii$Proxy, IActivity.Jsii$Proxy, IAddon.Jsii$Proxy, IAlarm.Jsii$Proxy, IAlias.Jsii$Proxy, IAlias.Jsii$Proxy, IAlias.Jsii$Proxy, IApi.Jsii$Proxy, IApiDestination.Jsii$Proxy, IApiKey.Jsii$Proxy, IApiMapping.Jsii$Proxy, IApp.Jsii$Proxy, IApplication.Jsii$Proxy, IApplication.Jsii$Proxy, IApplication.Jsii$Proxy, IApplicationListener.Jsii$Proxy, IApplicationLoadBalancer.Jsii$Proxy, IAppsyncFunction.Jsii$Proxy, IAttributeGroup.Jsii$Proxy, IAuroraClusterInstance.Jsii$Proxy, IAuthorizer.Jsii$Proxy, IAutoScalingConfiguration.Jsii$Proxy, IAutoScalingGroup.Jsii$Proxy, IBackupPlan.Jsii$Proxy, IBackupVault.Jsii$Proxy, IBaseService.Jsii$Proxy, IBranch.Jsii$Proxy, IBucket.Jsii$Proxy, IBuild.Jsii$Proxy, IBuildFleet.Jsii$Proxy, ICertificate.Jsii$Proxy, ICertificateAuthority.Jsii$Proxy, IChannel.Jsii$Proxy, IClientVpnEndpoint.Jsii$Proxy, ICluster.Jsii$Proxy, ICluster.Jsii$Proxy, ICluster.Jsii$Proxy, ICluster.Jsii$Proxy, IClusterParameterGroup.Jsii$Proxy, IClusterParameterGroup.Jsii$Proxy, IClusterParameterGroup.Jsii$Proxy, IClusterSubnetGroup.Jsii$Proxy, ICodeSigningConfig.Jsii$Proxy, IComputeEnvironment.Jsii$Proxy, IConfigurationSet.Jsii$Proxy, IConfigurationSetEventDestination.Jsii$Proxy, IConnection.Jsii$Proxy, IConnection.Jsii$Proxy, IDatabase.Jsii$Proxy, IDatabaseCluster.Jsii$Proxy, IDatabaseCluster.Jsii$Proxy, IDatabaseCluster.Jsii$Proxy, IDatabaseInstance.Jsii$Proxy, IDatabaseInstance.Jsii$Proxy, IDatabaseInstance.Jsii$Proxy, IDatabaseProxy.Jsii$Proxy, IDataQualityRuleset.Jsii$Proxy, IDedicatedIpPool.Jsii$Proxy, IDeliveryStream.Jsii$Proxy, IDeliveryStream.Jsii$Proxy, IDeploymentStrategy.Jsii$Proxy, IDetectorModel.Jsii$Proxy, IDistribution.Jsii$Proxy, IDomain.Jsii$Proxy, IDomain.Jsii$Proxy, IDomainName.Jsii$Proxy, IDomainName.Jsii$Proxy, IEc2Environment.Jsii$Proxy, IEc2Service.Jsii$Proxy, IEc2TaskDefinition.Jsii$Proxy, IEcsApplication.Jsii$Proxy, IEcsDeploymentGroup.Jsii$Proxy, IEksJobDefinition.Jsii$Proxy, IEmailIdentity.Jsii$Proxy, IEndpoint.Jsii$Proxy, IEndpoint.Jsii$Proxy, IEndpointConfig.Jsii$Proxy, IEndpointGroup.Jsii$Proxy, IEnvironment.Jsii$Proxy, IEventBus.Jsii$Proxy, IEventSourceMapping.Jsii$Proxy, IExtension.Jsii$Proxy, IExternalService.Jsii$Proxy, IExternalTaskDefinition.Jsii$Proxy, IFairshareSchedulingPolicy.Jsii$Proxy, IFargateComputeEnvironment.Jsii$Proxy, IFargateService.Jsii$Proxy, IFargateTaskDefinition.Jsii$Proxy, IFileSystem.Jsii$Proxy, IFirewallDomainList.Jsii$Proxy, IFirewallRuleGroup.Jsii$Proxy, IFleet.Jsii$Proxy, IFleet.Jsii$Proxy, IFlowLog.Jsii$Proxy, IFunction.Jsii$Proxy, IFunction.Jsii$Proxy, IFunctionUrl.Jsii$Proxy, IGameServerGroup.Jsii$Proxy, IGameSessionQueue.Jsii$Proxy, IGatewayResponse.Jsii$Proxy, IGatewayRoute.Jsii$Proxy, IGatewayVpcEndpoint.Jsii$Proxy, IGeofenceCollection.Jsii$Proxy, IGitHubRepository.Jsii$Proxy, IGraphqlApi.Jsii$Proxy, IGroup.Jsii$Proxy, IGroup.Jsii$Proxy, IHostedZone.Jsii$Proxy, IHttpApi.Jsii$Proxy, IHttpAuthorizer.Jsii$Proxy, IHttpIntegration.Jsii$Proxy, IHttpNamespace.Jsii$Proxy, IHttpRoute.Jsii$Proxy, IHttpStage.Jsii$Proxy, IIdentity.Jsii$Proxy, IIdentityPool.Jsii$Proxy, IIdentityPoolRoleAttachment.Jsii$Proxy, IInput.Jsii$Proxy, IInstance.Jsii$Proxy, IInstance.Jsii$Proxy, IInstanceProfile.Jsii$Proxy, IIntegration.Jsii$Proxy, IInterfaceVpcEndpoint.Jsii$Proxy, IJob.Jsii$Proxy, IJobDefinition.Jsii$Proxy, IJobQueue.Jsii$Proxy, IKey.Jsii$Proxy, IKeyGroup.Jsii$Proxy, IKeyPair.Jsii$Proxy, IKeySigningKey.Jsii$Proxy, IKeyValueStore.Jsii$Proxy, ILambdaApplication.Jsii$Proxy, ILambdaDeploymentGroup.Jsii$Proxy, ILaunchTemplate.Jsii$Proxy, ILayerVersion.Jsii$Proxy, ILifecycleHook.Jsii$Proxy, IListener.Jsii$Proxy, IListener.Jsii$Proxy, ILoadBalancerV2.Jsii$Proxy, ILogging.Jsii$Proxy, ILogGroup.Jsii$Proxy, ILogStream.Jsii$Proxy, IManagedComputeEnvironment.Jsii$Proxy, IManagedEc2EcsComputeEnvironment.Jsii$Proxy, IMap.Jsii$Proxy, IMatchmakingConfiguration.Jsii$Proxy, IMatchmakingRuleSet.Jsii$Proxy, IMesh.Jsii$Proxy, IModel.Jsii$Proxy, INamespace.Jsii$Proxy, INetworkAcl.Jsii$Proxy, INetworkAclEntry.Jsii$Proxy, INetworkListener.Jsii$Proxy, INetworkLoadBalancer.Jsii$Proxy, INodegroup.Jsii$Proxy, INotificationRule.Jsii$Proxy, IObservabilityConfiguration.Jsii$Proxy, IOpenIdConnectProvider.Jsii$Proxy, IOptionGroup.Jsii$Proxy, IOriginAccessControl.Jsii$Proxy, IOriginAccessIdentity.Jsii$Proxy, IParameter.Jsii$Proxy, IParameterGroup.Jsii$Proxy, IParameterGroup.Jsii$Proxy, IPipe.Jsii$Proxy, IPipeline.Jsii$Proxy, IPipeline.Jsii$Proxy, IPlaceIndex.Jsii$Proxy, IPlacementGroup.Jsii$Proxy, IPlaybackKeyPair.Jsii$Proxy, IPolicy.Jsii$Proxy, IPortfolio.Jsii$Proxy, IPrefixList.Jsii$Proxy, IPrivateDnsNamespace.Jsii$Proxy, IPrivateHostedZone.Jsii$Proxy, IPrivateSubnet.Jsii$Proxy, IProduct.Jsii$Proxy, IProfilingGroup.Jsii$Proxy, IProject.Jsii$Proxy, IPublicDnsNamespace.Jsii$Proxy, IPublicHostedZone.Jsii$Proxy, IPublicKey.Jsii$Proxy, IPublicSubnet.Jsii$Proxy, IQueue.Jsii$Proxy, IRealtimeLogConfig.Jsii$Proxy, IReceiptRule.Jsii$Proxy, IReceiptRuleSet.Jsii$Proxy, IRecordingConfiguration.Jsii$Proxy, IRecordSet.Jsii$Proxy, IReportGroup.Jsii$Proxy, IRepository.Jsii$Proxy, IRepository.Jsii$Proxy, IRequestValidator.Jsii$Proxy, IResource.Jsii$Proxy, IResource.Jsii$Proxy, IResourceWithPolicy.Jsii$Proxy, IRestApi.Jsii$Proxy, IRole.Jsii$Proxy, IRoute.Jsii$Proxy, IRoute.Jsii$Proxy, IRouteCalculator.Jsii$Proxy, IRouteV2.Jsii$Proxy, IRule.Jsii$Proxy, IRule.Jsii$Proxy, ISamlProvider.Jsii$Proxy, IScalableTarget.Jsii$Proxy, ISchedule.Jsii$Proxy, IScheduledAudit.Jsii$Proxy, ISchedulingPolicy.Jsii$Proxy, IScript.Jsii$Proxy, ISecret.Jsii$Proxy, ISecretTargetAttachment.Jsii$Proxy, ISecurityConfiguration.Jsii$Proxy, ISecurityGroup.Jsii$Proxy, IServerApplication.Jsii$Proxy, IServerDeploymentGroup.Jsii$Proxy, IServerlessCluster.Jsii$Proxy, IService.Jsii$Proxy, IService.Jsii$Proxy, IService.Jsii$Proxy, ISigningProfile.Jsii$Proxy, ISlackChannelConfiguration.Jsii$Proxy, ISourceApiAssociation.Jsii$Proxy, IStage.Jsii$Proxy, IStage.Jsii$Proxy, IStateMachine.Jsii$Proxy, IStream.Jsii$Proxy, IStreamKey.Jsii$Proxy, IStringListParameter.Jsii$Proxy, IStringParameter.Jsii$Proxy, ISubnet.Jsii$Proxy, ISubnetGroup.Jsii$Proxy, ISubnetGroup.Jsii$Proxy, ISubnetNetworkAclAssociation.Jsii$Proxy, ISubnetV2.Jsii$Proxy, ITable.Jsii$Proxy, ITable.Jsii$Proxy, ITableV2.Jsii$Proxy, ITaskDefinition.Jsii$Proxy, ITopic.Jsii$Proxy, ITopicRule.Jsii$Proxy, ITracker.Jsii$Proxy, ITrustStore.Jsii$Proxy, IUnmanagedComputeEnvironment.Jsii$Proxy, IUsagePlan.Jsii$Proxy, IUser.Jsii$Proxy, IUserPool.Jsii$Proxy, IUserPoolClient.Jsii$Proxy, IUserPoolDomain.Jsii$Proxy, IUserPoolGroup.Jsii$Proxy, IUserPoolIdentityProvider.Jsii$Proxy, IUserPoolResourceServer.Jsii$Proxy, IVdmAttributes.Jsii$Proxy, IVersion.Jsii$Proxy, IVirtualGateway.Jsii$Proxy, IVirtualNode.Jsii$Proxy, IVirtualRouter.Jsii$Proxy, IVirtualService.Jsii$Proxy, IVolume.Jsii$Proxy, IVpc.Jsii$Proxy, IVpcConnector.Jsii$Proxy, IVpcEndpoint.Jsii$Proxy, IVpcEndpointService.Jsii$Proxy, IVpcIngressConnection.Jsii$Proxy, IVpcLink.Jsii$Proxy, IVpcLink.Jsii$Proxy, IVpcV2.Jsii$Proxy, IVpnConnection.Jsii$Proxy, IVpnGateway.Jsii$Proxy, IWebSocketApi.Jsii$Proxy, IWebSocketAuthorizer.Jsii$Proxy, IWebSocketIntegration.Jsii$Proxy, IWebSocketRoute.Jsii$Proxy, IWebSocketStage.Jsii$Proxy
Enclosing interface:
IResource

@Internal public static interface IResource.Jsii$Default extends IResource, software.constructs.IConstruct.Jsii$Default
Internal default implementation for IResource.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface software.constructs.IConstruct

    software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy

    Nested classes/interfaces inherited from interface software.constructs.IDependable

    software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$Proxy

    Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource

    IResource.Jsii$Default, IResource.Jsii$Proxy
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Apply the given removal policy to this resource.
    The environment this resource belongs to.
    default software.constructs.Node
    The tree node.
    default Stack
    The stack in which this resource is defined.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getNode

      @Stability(Stable) @NotNull default software.constructs.Node getNode()
      The tree node.
      Specified by:
      getNode in interface software.constructs.IConstruct
      Specified by:
      getNode in interface software.constructs.IConstruct.Jsii$Default
    • getEnv

      @Stability(Stable) @NotNull default ResourceEnvironment getEnv()
      The environment this resource belongs to.

      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.

      Specified by:
      getEnv in interface IResource
    • getStack

      @Stability(Stable) @NotNull default Stack getStack()
      The stack in which this resource is defined.
      Specified by:
      getStack in interface IResource
    • applyRemovalPolicy

      @Stability(Stable) default void applyRemovalPolicy(@NotNull RemovalPolicy policy)
      Apply the given removal policy to this resource.

      The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.

      The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).

      Specified by:
      applyRemovalPolicy in interface IResource
      Parameters:
      policy - This parameter is required.