Class CfnService
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.vpclattice.CfnService
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:52.398Z")
@Stability(Stable)
public class CfnService
extends CfnResource
implements IInspectable, ITaggable
Creates a service.
A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC).
For more information, see Services in the Amazon VPC Lattice User Guide .
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.*; CfnService cfnService = CfnService.Builder.create(this, "MyCfnService") .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 TypeClassDescriptionstatic final class
A fluent builder forCfnService
.static interface
Describes the DNS information of a service.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnService
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnService
(software.amazon.jsii.JsiiObjectRef objRef) CfnService
(software.constructs.Construct scope, String id) CfnService
(software.constructs.Construct scope, String id, CfnServiceProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the service.The date and time that the service was created, specified in ISO-8601 format.The domain name of the service.The ID of the hosted zone.The ID of the service.The date and time that the service was last updated, specified in ISO-8601 format.The status of the service.The type of IAM policy.The Amazon Resource Name (ARN) of the certificate.The custom domain name of the service.The DNS information of the service.getName()
The name of the service.getTags()
Tag Manager which manages the tags for this resource.The tags for the service.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAuthType
(String value) The type of IAM policy.void
setCertificateArn
(String value) The Amazon Resource Name (ARN) of the certificate.void
setCustomDomainName
(String value) The custom domain name of the service.void
setDnsEntry
(IResolvable value) The DNS information of the service.void
The DNS information of the service.void
The name of the service.void
setTagsRaw
(List<CfnTag> value) The tags for the service.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnService
protected CfnService(software.amazon.jsii.JsiiObjectRef objRef) -
CfnService
protected CfnService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnService
@Stability(Stable) public CfnService(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnServiceProps props) - 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.props
- Resource properties.
-
CfnService
@Stability(Stable) public CfnService(@NotNull software.constructs.Construct scope, @NotNull 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.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the service. -
getAttrCreatedAt
The date and time that the service was created, specified in ISO-8601 format. -
getAttrDnsEntryDomainName
The domain name of the service. -
getAttrDnsEntryHostedZoneId
The ID of the hosted zone. -
getAttrId
The ID of the service. -
getAttrLastUpdatedAt
The date and time that the service was last updated, specified in ISO-8601 format. -
getAttrStatus
The status of the service. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getAuthType
The type of IAM policy. -
setAuthType
The type of IAM policy. -
getCertificateArn
The Amazon Resource Name (ARN) of the certificate. -
setCertificateArn
The Amazon Resource Name (ARN) of the certificate. -
getCustomDomainName
The custom domain name of the service. -
setCustomDomainName
The custom domain name of the service. -
getDnsEntry
The DNS information of the service. -
setDnsEntry
The DNS information of the service. -
setDnsEntry
The DNS information of the service. -
getName
The name of the service. -
setName
The name of the service. -
getTagsRaw
The tags for the service. -
setTagsRaw
The tags for the service.
-