Interface CfnServiceProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnServiceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:34.929Z") @Stability(Stable) public interface CfnServiceProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnService.

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.refactorspaces.*;
 CfnServiceProps cfnServiceProps = CfnServiceProps.builder()
         .applicationIdentifier("applicationIdentifier")
         .endpointType("endpointType")
         .environmentIdentifier("environmentIdentifier")
         .name("name")
         // the properties below are optional
         .description("description")
         .lambdaEndpoint(LambdaEndpointInputProperty.builder()
                 .arn("arn")
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .urlEndpoint(UrlEndpointInputProperty.builder()
                 .url("url")
                 // the properties below are optional
                 .healthUrl("healthUrl")
                 .build())
         .vpcId("vpcId")
         .build();
 
  • Method Details

    • getApplicationIdentifier

      @Stability(Stable) @NotNull String getApplicationIdentifier()
      The unique identifier of the application.
    • getEndpointType

      @Stability(Stable) @NotNull String getEndpointType()
      The endpoint type of the service.
    • getEnvironmentIdentifier

      @Stability(Stable) @NotNull String getEnvironmentIdentifier()
      The unique identifier of the environment.
    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the service.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      A description of the service.
    • getLambdaEndpoint

      @Stability(Stable) @Nullable default Object getLambdaEndpoint()
      A summary of the configuration for the AWS Lambda endpoint type.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The tags assigned to the service.
    • getUrlEndpoint

      @Stability(Stable) @Nullable default Object getUrlEndpoint()
      The summary of the configuration for the URL endpoint type.
    • getVpcId

      @Stability(Stable) @Nullable default String getVpcId()
      The ID of the virtual private cloud (VPC).
    • builder

      @Stability(Stable) static CfnServiceProps.Builder builder()
      Returns:
      a CfnServiceProps.Builder of CfnServiceProps