Class CfnService
Creates a service.
Inherited Members
Namespace: Amazon.CDK.AWS.VpcLattice
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnService : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnService
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
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 .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-service.html
CloudformationResource: AWS::VpcLattice::Service
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.VpcLattice;
var cfnService = new CfnService(this, "MyCfnService", new CfnServiceProps {
AuthType = "authType",
CertificateArn = "certificateArn",
CustomDomainName = "customDomainName",
DnsEntry = new DnsEntryProperty {
DomainName = "domainName",
HostedZoneId = "hostedZoneId"
},
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnService(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnService(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnService(Construct, String, ICfnServiceProps) |
Properties
AttrArn | The Amazon Resource Name (ARN) of the service. |
AttrCreatedAt | The date and time that the service was created, specified in ISO-8601 format. |
AttrDnsEntryDomainName | The domain name of the service. |
AttrDnsEntryHostedZoneId | The ID of the hosted zone. |
AttrId | The ID of the service. |
AttrLastUpdatedAt | The date and time that the service was last updated, specified in ISO-8601 format. |
AttrStatus | The status of the service. |
AuthType | The type of IAM policy. |
CertificateArn | The Amazon Resource Name (ARN) of the certificate. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
CustomDomainName | The custom domain name of the service. |
DnsEntry | The DNS information of the service. |
Name | The name of the service. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags for the service. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnService(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnService(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnService(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnService(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnService(Construct, String, ICfnServiceProps)
public CfnService(Construct scope, string id, ICfnServiceProps props = null)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnServiceProps
Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the service.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrCreatedAt
The date and time that the service was created, specified in ISO-8601 format.
public virtual string AttrCreatedAt { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreatedAt
AttrDnsEntryDomainName
The domain name of the service.
public virtual string AttrDnsEntryDomainName { get; }
Property Value
System.String
Remarks
CloudformationAttribute: DnsEntry.DomainName
AttrDnsEntryHostedZoneId
The ID of the hosted zone.
public virtual string AttrDnsEntryHostedZoneId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: DnsEntry.HostedZoneId
AttrId
The ID of the service.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrLastUpdatedAt
The date and time that the service was last updated, specified in ISO-8601 format.
public virtual string AttrLastUpdatedAt { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LastUpdatedAt
AttrStatus
The status of the service.
public virtual string AttrStatus { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Status
AuthType
The type of IAM policy.
public virtual string AuthType { get; set; }
Property Value
System.String
CertificateArn
The Amazon Resource Name (ARN) of the certificate.
public virtual string CertificateArn { get; set; }
Property Value
System.String
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
CustomDomainName
The custom domain name of the service.
public virtual string CustomDomainName { get; set; }
Property Value
System.String
DnsEntry
The DNS information of the service.
public virtual object DnsEntry { get; set; }
Property Value
System.Object
Name
The name of the service.
public virtual string Name { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>