Interface CfnServiceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServiceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:40.426Z")
@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.vpclattice.*; CfnServiceProps cfnServiceProps = CfnServiceProps.builder() .authType("authType") .certificateArn("certificateArn") .customDomainName("customDomainName") .dnsEntry(DnsEntryProperty.builder() .domainName("domainName") .hostedZoneId("hostedZoneId") .build()) .name("name") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnServiceProps
static final class
An implementation forCfnServiceProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnServiceProps.Builder
builder()
default String
The type of IAM policy.default String
The Amazon Resource Name (ARN) of the certificate.default String
The custom domain name of the service.default Object
The DNS information of the service.default String
getName()
The name of the service.getTags()
The tags for the service.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthType
The type of IAM policy.NONE
: The resource does not use an IAM policy. This is the default.AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
Default: - "NONE"
- See Also:
-
getCertificateArn
The Amazon Resource Name (ARN) of the certificate.- See Also:
-
getCustomDomainName
The custom domain name of the service.- See Also:
-
getDnsEntry
The DNS information of the service.- See Also:
-
getName
The name of the service.The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
- See Also:
-
getTags
The tags for the service.- See Also:
-
builder
- Returns:
- a
CfnServiceProps.Builder
ofCfnServiceProps
-