Class CfnServiceNetwork
Creates a service network.
Inherited Members
Namespace: Amazon.CDK.AWS.VpcLattice
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnServiceNetwork : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnServiceNetwork
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
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(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 |
CfnServiceNetwork(Construct, String, ICfnServiceNetworkProps) |
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 | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags for the service network. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
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
CfnServiceNetwork(Construct, String, ICfnServiceNetworkProps)
public CfnServiceNetwork(Construct scope, string id, ICfnServiceNetworkProps 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 ICfnServiceNetworkProps
Resource properties.
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
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
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The tags for the service network.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
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>