Class CfnService.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnService.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService>
- Enclosing class:
CfnService
@Stability(Stable)
public static final class CfnService.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService>
A fluent builder for
CfnService.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnService.BuilderexchangeUrlPrivateConnectionName(String exchangeUrlPrivateConnectionName) The name of the private connection to use for OAuth token exchange requests only.The ARN of the KMS key to use for encryption.privateConnectionName(String privateConnectionName) The name of the private connection to use for VPC connectivity.serviceDetails(IResolvable serviceDetails) Service-specific configuration details - MCPServerSigV4 supports in-place updates;serviceDetails(CfnService.ServiceDetailsProperty serviceDetails) Service-specific configuration details - MCPServerSigV4 supports in-place updates;serviceType(String serviceType) The type of service being registered.An array of key-value pairs to apply to this resource.targetUrlPrivateConnectionName(String targetUrlPrivateConnectionName) The name of the private connection to use for API calls (target URL) only.
-
Method Details
-
create
@Stability(Stable) public static CfnService.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnService.Builder.
-
serviceType
The type of service being registered.- Parameters:
serviceType- The type of service being registered. This parameter is required.- Returns:
this- See Also:
-
exchangeUrlPrivateConnectionName
@Stability(Stable) public CfnService.Builder exchangeUrlPrivateConnectionName(String exchangeUrlPrivateConnectionName) The name of the private connection to use for OAuth token exchange requests only.Cannot be specified when PrivateConnectionName is provided.
- Parameters:
exchangeUrlPrivateConnectionName- The name of the private connection to use for OAuth token exchange requests only. This parameter is required.- Returns:
this- See Also:
-
kmsKeyArn
The ARN of the KMS key to use for encryption.- Parameters:
kmsKeyArn- The ARN of the KMS key to use for encryption. This parameter is required.- Returns:
this- See Also:
-
privateConnectionName
The name of the private connection to use for VPC connectivity.- Parameters:
privateConnectionName- The name of the private connection to use for VPC connectivity. This parameter is required.- Returns:
this- See Also:
-
serviceDetails
Service-specific configuration details - MCPServerSigV4 supports in-place updates;GitLab (TokenValue), MCPServer (ApiKey or BearerToken credential rotation), MCPServerNewRelic (ApiKey rotation), and MCPServerGrafana (BearerToken rotation) support in-place credential rotation; all other service types and fields require replacement when modified
- Parameters:
serviceDetails- Service-specific configuration details - MCPServerSigV4 supports in-place updates;. This parameter is required.- Returns:
this- See Also:
-
serviceDetails
@Stability(Stable) public CfnService.Builder serviceDetails(CfnService.ServiceDetailsProperty serviceDetails) Service-specific configuration details - MCPServerSigV4 supports in-place updates;GitLab (TokenValue), MCPServer (ApiKey or BearerToken credential rotation), MCPServerNewRelic (ApiKey rotation), and MCPServerGrafana (BearerToken rotation) support in-place credential rotation; all other service types and fields require replacement when modified
- Parameters:
serviceDetails- Service-specific configuration details - MCPServerSigV4 supports in-place updates;. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
targetUrlPrivateConnectionName
@Stability(Stable) public CfnService.Builder targetUrlPrivateConnectionName(String targetUrlPrivateConnectionName) The name of the private connection to use for API calls (target URL) only.Cannot be specified when PrivateConnectionName is provided.
- Parameters:
targetUrlPrivateConnectionName- The name of the private connection to use for API calls (target URL) only. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService>- Returns:
- a newly built instance of
CfnService.
-