

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::NetworkManager::DirectConnectGatewayAttachment
<a name="aws-resource-networkmanager-directconnectgatewayattachment"></a>

Creates an AWS Direct Connect gateway attachment 

## Syntax
<a name="aws-resource-networkmanager-directconnectgatewayattachment-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-resource-networkmanager-directconnectgatewayattachment-syntax.json"></a>

```
{
  "Type" : "AWS::NetworkManager::DirectConnectGatewayAttachment",
  "Properties" : {
      "[CoreNetworkId](#cfn-networkmanager-directconnectgatewayattachment-corenetworkid)" : String,
      "[DirectConnectGatewayArn](#cfn-networkmanager-directconnectgatewayattachment-directconnectgatewayarn)" : String,
      "[EdgeLocations](#cfn-networkmanager-directconnectgatewayattachment-edgelocations)" : [ String, ... ],
      "[ProposedNetworkFunctionGroupChange](#cfn-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange)" : ProposedNetworkFunctionGroupChange,
      "[ProposedSegmentChange](#cfn-networkmanager-directconnectgatewayattachment-proposedsegmentchange)" : ProposedSegmentChange,
      "[RoutingPolicyLabel](#cfn-networkmanager-directconnectgatewayattachment-routingpolicylabel)" : String,
      "[Tags](#cfn-networkmanager-directconnectgatewayattachment-tags)" : [ Tag, ... ]
    }
}
```

### YAML
<a name="aws-resource-networkmanager-directconnectgatewayattachment-syntax.yaml"></a>

```
Type: AWS::NetworkManager::DirectConnectGatewayAttachment
Properties:
  [CoreNetworkId](#cfn-networkmanager-directconnectgatewayattachment-corenetworkid): String
  [DirectConnectGatewayArn](#cfn-networkmanager-directconnectgatewayattachment-directconnectgatewayarn): String
  [EdgeLocations](#cfn-networkmanager-directconnectgatewayattachment-edgelocations): 
    - String
  [ProposedNetworkFunctionGroupChange](#cfn-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange): 
    ProposedNetworkFunctionGroupChange
  [ProposedSegmentChange](#cfn-networkmanager-directconnectgatewayattachment-proposedsegmentchange): 
    ProposedSegmentChange
  [RoutingPolicyLabel](#cfn-networkmanager-directconnectgatewayattachment-routingpolicylabel): String
  [Tags](#cfn-networkmanager-directconnectgatewayattachment-tags): 
    - Tag
```

## Properties
<a name="aws-resource-networkmanager-directconnectgatewayattachment-properties"></a>

`CoreNetworkId`  <a name="cfn-networkmanager-directconnectgatewayattachment-corenetworkid"></a>
Property description not available.  
*Required*: Yes  
*Type*: String  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`DirectConnectGatewayArn`  <a name="cfn-networkmanager-directconnectgatewayattachment-directconnectgatewayarn"></a>
The Direct Connect gateway attachment ARN.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:[^:]{1,63}:directconnect::[^:]{0,63}:dx-gateway\/[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$`  
*Minimum*: `0`  
*Maximum*: `500`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`EdgeLocations`  <a name="cfn-networkmanager-directconnectgatewayattachment-edgelocations"></a>
Property description not available.  
*Required*: Yes  
*Type*: Array of String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ProposedNetworkFunctionGroupChange`  <a name="cfn-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange"></a>
Describes proposed changes to a network function group.   
*Required*: No  
*Type*: [ProposedNetworkFunctionGroupChange](aws-properties-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ProposedSegmentChange`  <a name="cfn-networkmanager-directconnectgatewayattachment-proposedsegmentchange"></a>
Describes a proposed segment change. In some cases, the segment change must first be evaluated and accepted.   
*Required*: No  
*Type*: [ProposedSegmentChange](aws-properties-networkmanager-directconnectgatewayattachment-proposedsegmentchange.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RoutingPolicyLabel`  <a name="cfn-networkmanager-directconnectgatewayattachment-routingpolicylabel"></a>
Property description not available.  
*Required*: No  
*Type*: String  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Tags`  <a name="cfn-networkmanager-directconnectgatewayattachment-tags"></a>
Property description not available.  
*Required*: No  
*Type*: Array of [Tag](aws-properties-networkmanager-directconnectgatewayattachment-tag.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## Return values
<a name="aws-resource-networkmanager-directconnectgatewayattachment-return-values"></a>

### Ref
<a name="aws-resource-networkmanager-directconnectgatewayattachment-return-values-ref"></a>

### Fn::GetAtt
<a name="aws-resource-networkmanager-directconnectgatewayattachment-return-values-fn--getatt"></a>

#### 
<a name="aws-resource-networkmanager-directconnectgatewayattachment-return-values-fn--getatt-fn--getatt"></a>

`AttachmentId`  <a name="AttachmentId-fn::getatt"></a>
Property description not available.

`AttachmentPolicyRuleNumber`  <a name="AttachmentPolicyRuleNumber-fn::getatt"></a>
Property description not available.

`AttachmentType`  <a name="AttachmentType-fn::getatt"></a>
Property description not available.

`CoreNetworkArn`  <a name="CoreNetworkArn-fn::getatt"></a>
Property description not available.

`CreatedAt`  <a name="CreatedAt-fn::getatt"></a>
Property description not available.

`LastModificationErrors`  <a name="LastModificationErrors-fn::getatt"></a>
Property description not available.

`NetworkFunctionGroupName`  <a name="NetworkFunctionGroupName-fn::getatt"></a>
The name of the network function group.

`OwnerAccountId`  <a name="OwnerAccountId-fn::getatt"></a>
Property description not available.

`ResourceArn`  <a name="ResourceArn-fn::getatt"></a>
Property description not available.

`SegmentName`  <a name="SegmentName-fn::getatt"></a>
Property description not available.

`State`  <a name="State-fn::getatt"></a>
Property description not available.

`UpdatedAt`  <a name="UpdatedAt-fn::getatt"></a>
Property description not available.

# AWS::NetworkManager::DirectConnectGatewayAttachment ProposedNetworkFunctionGroupChange
<a name="aws-properties-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange"></a>

Describes proposed changes to a network function group. 

## Syntax
<a name="aws-properties-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange-syntax.json"></a>

```
{
  "[AttachmentPolicyRuleNumber](#cfn-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange-attachmentpolicyrulenumber)" : Integer,
  "[NetworkFunctionGroupName](#cfn-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange-networkfunctiongroupname)" : String,
  "[Tags](#cfn-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange-tags)" : [ Tag, ... ]
}
```

### YAML
<a name="aws-properties-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange-syntax.yaml"></a>

```
  [AttachmentPolicyRuleNumber](#cfn-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange-attachmentpolicyrulenumber): Integer
  [NetworkFunctionGroupName](#cfn-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange-networkfunctiongroupname): String
  [Tags](#cfn-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange-tags): 
    - Tag
```

## Properties
<a name="aws-properties-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange-properties"></a>

`AttachmentPolicyRuleNumber`  <a name="cfn-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange-attachmentpolicyrulenumber"></a>
The proposed new attachment policy rule number for the network function group.  
*Required*: No  
*Type*: Integer  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`NetworkFunctionGroupName`  <a name="cfn-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange-networkfunctiongroupname"></a>
The proposed name change for the network function group name.  
*Required*: No  
*Type*: String  
*Pattern*: `[\s\S]*`  
*Minimum*: `0`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange-tags"></a>
The list of proposed changes to the key-value tags associated with the network function group.  
*Required*: No  
*Type*: Array of [Tag](aws-properties-networkmanager-directconnectgatewayattachment-tag.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::NetworkManager::DirectConnectGatewayAttachment ProposedSegmentChange
<a name="aws-properties-networkmanager-directconnectgatewayattachment-proposedsegmentchange"></a>

Describes a proposed segment change. In some cases, the segment change must first be evaluated and accepted. 

## Syntax
<a name="aws-properties-networkmanager-directconnectgatewayattachment-proposedsegmentchange-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-networkmanager-directconnectgatewayattachment-proposedsegmentchange-syntax.json"></a>

```
{
  "[AttachmentPolicyRuleNumber](#cfn-networkmanager-directconnectgatewayattachment-proposedsegmentchange-attachmentpolicyrulenumber)" : Integer,
  "[SegmentName](#cfn-networkmanager-directconnectgatewayattachment-proposedsegmentchange-segmentname)" : String,
  "[Tags](#cfn-networkmanager-directconnectgatewayattachment-proposedsegmentchange-tags)" : [ Tag, ... ]
}
```

### YAML
<a name="aws-properties-networkmanager-directconnectgatewayattachment-proposedsegmentchange-syntax.yaml"></a>

```
  [AttachmentPolicyRuleNumber](#cfn-networkmanager-directconnectgatewayattachment-proposedsegmentchange-attachmentpolicyrulenumber): Integer
  [SegmentName](#cfn-networkmanager-directconnectgatewayattachment-proposedsegmentchange-segmentname): String
  [Tags](#cfn-networkmanager-directconnectgatewayattachment-proposedsegmentchange-tags): 
    - Tag
```

## Properties
<a name="aws-properties-networkmanager-directconnectgatewayattachment-proposedsegmentchange-properties"></a>

`AttachmentPolicyRuleNumber`  <a name="cfn-networkmanager-directconnectgatewayattachment-proposedsegmentchange-attachmentpolicyrulenumber"></a>
The rule number in the policy document that applies to this change.  
*Required*: No  
*Type*: Integer  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SegmentName`  <a name="cfn-networkmanager-directconnectgatewayattachment-proposedsegmentchange-segmentname"></a>
The name of the segment to change.  
*Required*: No  
*Type*: String  
*Pattern*: `[\s\S]*`  
*Minimum*: `0`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-networkmanager-directconnectgatewayattachment-proposedsegmentchange-tags"></a>
The list of key-value tags that changed for the segment.  
*Required*: No  
*Type*: Array of [Tag](aws-properties-networkmanager-directconnectgatewayattachment-tag.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::NetworkManager::DirectConnectGatewayAttachment Tag
<a name="aws-properties-networkmanager-directconnectgatewayattachment-tag"></a>

Describes a tag.

## Syntax
<a name="aws-properties-networkmanager-directconnectgatewayattachment-tag-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-networkmanager-directconnectgatewayattachment-tag-syntax.json"></a>

```
{
  "[Key](#cfn-networkmanager-directconnectgatewayattachment-tag-key)" : String,
  "[Value](#cfn-networkmanager-directconnectgatewayattachment-tag-value)" : String
}
```

### YAML
<a name="aws-properties-networkmanager-directconnectgatewayattachment-tag-syntax.yaml"></a>

```
  [Key](#cfn-networkmanager-directconnectgatewayattachment-tag-key): String
  [Value](#cfn-networkmanager-directconnectgatewayattachment-tag-value): String
```

## Properties
<a name="aws-properties-networkmanager-directconnectgatewayattachment-tag-properties"></a>

`Key`  <a name="cfn-networkmanager-directconnectgatewayattachment-tag-key"></a>
The tag key.  
Constraints: Maximum length of 128 characters.  
*Required*: Yes  
*Type*: String  
*Pattern*: `[\s\S]*`  
*Minimum*: `0`  
*Maximum*: `10000000`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Value`  <a name="cfn-networkmanager-directconnectgatewayattachment-tag-value"></a>
The tag value.  
Constraints: Maximum length of 256 characters.  
*Required*: Yes  
*Type*: String  
*Pattern*: `[\s\S]*`  
*Minimum*: `0`  
*Maximum*: `10000000`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)