Show / Hide Table of Contents

Class CfnTargetGroup

Creates a target group.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnTargetGroup
Implements
IInspectable
ITaggable
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.VpcLattice
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTargetGroup : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnTargetGroup Inherits CfnResource Implements IInspectable, ITaggable
Remarks

A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.

For more information, see Target groups in the Amazon VPC Lattice User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-targetgroup.html

CloudformationResource: AWS::VpcLattice::TargetGroup

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 cfnTargetGroup = new CfnTargetGroup(this, "MyCfnTargetGroup", new CfnTargetGroupProps {
                 Type = "type",

                 // the properties below are optional
                 Config = new TargetGroupConfigProperty {
                     HealthCheck = new HealthCheckConfigProperty {
                         Enabled = false,
                         HealthCheckIntervalSeconds = 123,
                         HealthCheckTimeoutSeconds = 123,
                         HealthyThresholdCount = 123,
                         Matcher = new MatcherProperty {
                             HttpCode = "httpCode"
                         },
                         Path = "path",
                         Port = 123,
                         Protocol = "protocol",
                         ProtocolVersion = "protocolVersion",
                         UnhealthyThresholdCount = 123
                     },
                     IpAddressType = "ipAddressType",
                     LambdaEventStructureVersion = "lambdaEventStructureVersion",
                     Port = 123,
                     Protocol = "protocol",
                     ProtocolVersion = "protocolVersion",
                     VpcIdentifier = "vpcIdentifier"
                 },
                 Name = "name",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 Targets = new [] { new TargetProperty {
                     Id = "id",

                     // the properties below are optional
                     Port = 123
                 } }
             });

Synopsis

Constructors

CfnTargetGroup(Construct, string, ICfnTargetGroupProps)

Creates a target group.

Properties

AttrArn

The Amazon Resource Name (ARN) of the target group.

AttrCreatedAt

The date and time that the target group was created, specified in ISO-8601 format.

AttrId

The ID of the target group.

AttrLastUpdatedAt

The date and time that the target group was last updated, specified in ISO-8601 format.

AttrStatus

The operation's status.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

Creates a target group.

Config

The target group configuration.

Name

The name of the target group.

Tags

Tag Manager which manages the tags for this resource.

TagsRaw

The tags for the target group.

Targets

Describes a target.

Type

The type of target group.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<string, object>)

Creates a target group.

Constructors

CfnTargetGroup(Construct, string, ICfnTargetGroupProps)

Creates a target group.

public CfnTargetGroup(Construct scope, string id, ICfnTargetGroupProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnTargetGroupProps

Resource properties.

Remarks

A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.

For more information, see Target groups in the Amazon VPC Lattice User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-targetgroup.html

CloudformationResource: AWS::VpcLattice::TargetGroup

ExampleMetadata: fixture=_generated

Properties

AttrArn

The Amazon Resource Name (ARN) of the target group.

public virtual string AttrArn { get; }
Property Value

string

Remarks

CloudformationAttribute: Arn

AttrCreatedAt

The date and time that the target group was created, specified in ISO-8601 format.

public virtual string AttrCreatedAt { get; }
Property Value

string

Remarks

CloudformationAttribute: CreatedAt

AttrId

The ID of the target group.

public virtual string AttrId { get; }
Property Value

string

Remarks

CloudformationAttribute: Id

AttrLastUpdatedAt

The date and time that the target group was last updated, specified in ISO-8601 format.

public virtual string AttrLastUpdatedAt { get; }
Property Value

string

Remarks

CloudformationAttribute: LastUpdatedAt

AttrStatus

The operation's status.

public virtual string AttrStatus { get; }
Property Value

string

Remarks

You can retry the operation if the status is CREATE_FAILED . However, if you retry it while the status is CREATE_IN_PROGRESS , there is no change in the status.

CloudformationAttribute: Status

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.

For more information, see Target groups in the Amazon VPC Lattice User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-targetgroup.html

CloudformationResource: AWS::VpcLattice::TargetGroup

ExampleMetadata: fixture=_generated

CfnProperties

Creates a target group.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.

For more information, see Target groups in the Amazon VPC Lattice User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-targetgroup.html

CloudformationResource: AWS::VpcLattice::TargetGroup

ExampleMetadata: fixture=_generated

Config

The target group configuration.

public virtual object? Config { get; set; }
Property Value

object

Remarks

A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.

For more information, see Target groups in the Amazon VPC Lattice User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-targetgroup.html

CloudformationResource: AWS::VpcLattice::TargetGroup

ExampleMetadata: fixture=_generated

Name

The name of the target group.

public virtual string? Name { get; set; }
Property Value

string

Remarks

A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.

For more information, see Target groups in the Amazon VPC Lattice User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-targetgroup.html

CloudformationResource: AWS::VpcLattice::TargetGroup

ExampleMetadata: fixture=_generated

Tags

Tag Manager which manages the tags for this resource.

public virtual TagManager Tags { get; }
Property Value

TagManager

Remarks

A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.

For more information, see Target groups in the Amazon VPC Lattice User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-targetgroup.html

CloudformationResource: AWS::VpcLattice::TargetGroup

ExampleMetadata: fixture=_generated

TagsRaw

The tags for the target group.

public virtual ICfnTag[]? TagsRaw { get; set; }
Property Value

ICfnTag[]

Remarks

A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.

For more information, see Target groups in the Amazon VPC Lattice User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-targetgroup.html

CloudformationResource: AWS::VpcLattice::TargetGroup

ExampleMetadata: fixture=_generated

Targets

Describes a target.

public virtual object? Targets { get; set; }
Property Value

object

Remarks

A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.

For more information, see Target groups in the Amazon VPC Lattice User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-targetgroup.html

CloudformationResource: AWS::VpcLattice::TargetGroup

ExampleMetadata: fixture=_generated

Type

The type of target group.

public virtual string Type { get; set; }
Property Value

string

Remarks

A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.

For more information, see Target groups in the Amazon VPC Lattice User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-targetgroup.html

CloudformationResource: AWS::VpcLattice::TargetGroup

ExampleMetadata: fixture=_generated

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.

Remarks

A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.

For more information, see Target groups in the Amazon VPC Lattice User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-targetgroup.html

CloudformationResource: AWS::VpcLattice::TargetGroup

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

Creates a target group.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.

For more information, see Target groups in the Amazon VPC Lattice User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-targetgroup.html

CloudformationResource: AWS::VpcLattice::TargetGroup

ExampleMetadata: fixture=_generated

Implements

IInspectable
ITaggable
Back to top Generated by DocFX