Class CfnServiceNetwork
A CloudFormation AWS::VpcLattice::ServiceNetwork
.
Inherited Members
Namespace: Amazon.CDK.AWS.VpcLattice
Assembly: Amazon.CDK.AWS.VpcLattice.dll
Syntax (csharp)
public class CfnServiceNetwork : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnServiceNetwork
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Creates a service network. A service network is a logical boundary for a collection of services. You can associate services and VPCs with a service network.
For more information, see Service networks in the Amazon VPC Lattice User Guide .
CloudformationResource: AWS::VpcLattice::ServiceNetwork
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 cfnServiceNetwork = new CfnServiceNetwork(this, "MyCfnServiceNetwork", new CfnServiceNetworkProps {
AuthType = "authType",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnServiceNetwork(Construct, String, ICfnServiceNetworkProps) | Create a new |
CfnServiceNetwork(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnServiceNetwork(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrArn | The Amazon Resource Name (ARN) of the service network. |
AttrCreatedAt | The date and time that the service network was created, specified in ISO-8601 format. |
AttrId | The ID of the service network. |
AttrLastUpdatedAt | The date and time of the last update, specified in ISO-8601 format. |
AuthType | The type of IAM policy. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Name | The name of the service network. |
Tags | The tags for the service network. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnServiceNetwork(Construct, String, ICfnServiceNetworkProps)
Create a new AWS::VpcLattice::ServiceNetwork
.
public CfnServiceNetwork(Construct scope, string id, ICfnServiceNetworkProps props = null)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnServiceNetworkProps
- resource properties.
CfnServiceNetwork(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnServiceNetwork(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnServiceNetwork(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnServiceNetwork(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrArn
The Amazon Resource Name (ARN) of the service network.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrCreatedAt
The date and time that the service network was created, specified in ISO-8601 format.
public virtual string AttrCreatedAt { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreatedAt
AttrId
The ID of the service network.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrLastUpdatedAt
The date and time of the last update, specified in ISO-8601 format.
public virtual string AttrLastUpdatedAt { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LastUpdatedAt
AuthType
The type of IAM policy.
public virtual string AuthType { get; set; }
Property Value
System.String
Remarks
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
Name
The name of the service network.
public virtual string Name { get; set; }
Property Value
System.String
Remarks
The name must be unique to 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.
Tags
The tags for the service network.
public virtual TagManager Tags { get; }
Property Value
Remarks
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>