Class CfnServicePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnServicePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin>
- Enclosing class:
CfnServicePropsMixin
@Stability(Stable)
public static final class CfnServicePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin>
A fluent builder for
CfnServicePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnServicePropsMixin.Buildercreate()static CfnServicePropsMixin.Buildercreate(CfnPropertyMixinOptions options) exchangeUrlPrivateConnectionName(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(CfnServicePropsMixin.ServiceDetailsProperty serviceDetails) Service-specific configuration details - MCPServerSigV4 supports in-place updates;serviceDetails(IResolvable 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 CfnServicePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnServicePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnServicePropsMixin.Builder.
-
exchangeUrlPrivateConnectionName
@Stability(Stable) public CfnServicePropsMixin.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
@Stability(Stable) public CfnServicePropsMixin.Builder privateConnectionName(String 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 CfnServicePropsMixin.Builder serviceDetails(CfnServicePropsMixin.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:
-
serviceType
The type of service being registered.- Parameters:
serviceType- The type of service being registered. 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 CfnServicePropsMixin.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<CfnServicePropsMixin>- Returns:
- a newly built instance of
CfnServicePropsMixin.
-