Skip to content

Commit be4dadb

Browse files
author
AWS
committed
AWS Transfer Family Update: Add ability to specify Security Policies for SFTP Connectors
1 parent 5cdcdaa commit be4dadb

File tree

2 files changed

+70
-14
lines changed

2 files changed

+70
-14
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Transfer Family",
4+
"contributor": "",
5+
"description": "Add ability to specify Security Policies for SFTP Connectors"
6+
}

services/transfer/src/main/resources/codegen-resources/service-2.json

Lines changed: 64 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@
418418
{"shape":"InternalServiceError"},
419419
{"shape":"ServiceUnavailableException"}
420420
],
421-
"documentation":"<p>Describes the security policy that is attached to your file transfer protocol-enabled server. The response contains a description of the security policy's properties. For more information about security policies, see <a href=\"https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html\">Working with security policies</a>.</p>"
421+
"documentation":"<p>Describes the security policy that is attached to your server or SFTP connector. The response contains a description of the security policy's properties. For more information about security policies, see <a href=\"https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html\">Working with security policies for servers</a> or <a href=\"https://docs.aws.amazon.com/transfer/latest/userguide/security-policies-connectors.html\">Working with security policies for SFTP connectors</a>.</p>"
422422
},
423423
"DescribeServer":{
424424
"name":"DescribeServer",
@@ -653,7 +653,7 @@
653653
{"shape":"ServiceUnavailableException"},
654654
{"shape":"InvalidNextTokenException"}
655655
],
656-
"documentation":"<p>Lists the security policies that are attached to your file transfer protocol-enabled servers.</p>"
656+
"documentation":"<p>Lists the security policies that are attached to your servers and SFTP connectors. For more information about security policies, see <a href=\"https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html\">Working with security policies for servers</a> or <a href=\"https://docs.aws.amazon.com/transfer/latest/userguide/security-policies-connectors.html\">Working with security policies for SFTP connectors</a>.</p>"
657657
},
658658
"ListServers":{
659659
"name":"ListServers",
@@ -1174,6 +1174,12 @@
11741174
"min":19,
11751175
"pattern":"c-([0-9a-f]{17})"
11761176
},
1177+
"ConnectorSecurityPolicyName":{
1178+
"type":"string",
1179+
"max":100,
1180+
"min":0,
1181+
"pattern":"TransferSFTPConnectorSecurityPolicy-[A-Za-z0-9-]+"
1182+
},
11771183
"CopyStepDetails":{
11781184
"type":"structure",
11791185
"members":{
@@ -1336,6 +1342,10 @@
13361342
"SftpConfig":{
13371343
"shape":"SftpConnectorConfig",
13381344
"documentation":"<p>A structure that contains the parameters for an SFTP connector object.</p>"
1345+
},
1346+
"SecurityPolicyName":{
1347+
"shape":"ConnectorSecurityPolicyName",
1348+
"documentation":"<p>Specifies the name of the security policy for the connector.</p>"
13391349
}
13401350
}
13411351
},
@@ -1437,7 +1447,7 @@
14371447
},
14381448
"SecurityPolicyName":{
14391449
"shape":"SecurityPolicyName",
1440-
"documentation":"<p>Specifies the name of the security policy that is attached to the server.</p>"
1450+
"documentation":"<p>Specifies the name of the security policy for the server.</p>"
14411451
},
14421452
"Tags":{
14431453
"shape":"Tags",
@@ -1980,7 +1990,7 @@
19801990
"members":{
19811991
"SecurityPolicyName":{
19821992
"shape":"SecurityPolicyName",
1983-
"documentation":"<p>Specifies the name of the security policy that is attached to the server.</p>"
1993+
"documentation":"<p>Specify the text name of the security policy for which you want the details.</p>"
19841994
}
19851995
}
19861996
},
@@ -2248,6 +2258,10 @@
22482258
"ServiceManagedEgressIpAddresses":{
22492259
"shape":"ServiceManagedEgressIpAddresses",
22502260
"documentation":"<p>The list of egress IP addresses of this connector. These IP addresses are assigned automatically when you create the connector.</p>"
2261+
},
2262+
"SecurityPolicyName":{
2263+
"shape":"ConnectorSecurityPolicyName",
2264+
"documentation":"<p>The text name of the security policy for the specified connector.</p>"
22512265
}
22522266
},
22532267
"documentation":"<p>Describes the parameters for the connector, as identified by the <code>ConnectorId</code>.</p>"
@@ -2359,30 +2373,42 @@
23592373
"members":{
23602374
"Fips":{
23612375
"shape":"Fips",
2362-
"documentation":"<p>Specifies whether this policy enables Federal Information Processing Standards (FIPS).</p>"
2376+
"documentation":"<p>Specifies whether this policy enables Federal Information Processing Standards (FIPS). This parameter applies to both server and connector security policies.</p>"
23632377
},
23642378
"SecurityPolicyName":{
23652379
"shape":"SecurityPolicyName",
2366-
"documentation":"<p>Specifies the name of the security policy that is attached to the server.</p>"
2380+
"documentation":"<p>The text name of the specified security policy.</p>"
23672381
},
23682382
"SshCiphers":{
23692383
"shape":"SecurityPolicyOptions",
2370-
"documentation":"<p>Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server.</p>"
2384+
"documentation":"<p>Lists the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server or connector. This parameter applies to both server and connector security policies.</p>"
23712385
},
23722386
"SshKexs":{
23732387
"shape":"SecurityPolicyOptions",
2374-
"documentation":"<p>Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server.</p>"
2388+
"documentation":"<p>Lists the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server or connector. This parameter applies to both server and connector security policies.</p>"
23752389
},
23762390
"SshMacs":{
23772391
"shape":"SecurityPolicyOptions",
2378-
"documentation":"<p>Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server.</p>"
2392+
"documentation":"<p>Lists the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server or connector. This parameter applies to both server and connector security policies.</p>"
23792393
},
23802394
"TlsCiphers":{
23812395
"shape":"SecurityPolicyOptions",
2382-
"documentation":"<p>Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.</p>"
2396+
"documentation":"<p>Lists the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.</p> <note> <p>This parameter only applies to security policies for servers.</p> </note>"
2397+
},
2398+
"SshHostKeyAlgorithms":{
2399+
"shape":"SecurityPolicyOptions",
2400+
"documentation":"<p>Lists the host key algorithms for the security policy.</p> <note> <p>This parameter only applies to security policies for connectors.</p> </note>"
2401+
},
2402+
"Type":{
2403+
"shape":"SecurityPolicyResourceType",
2404+
"documentation":"<p>The resource type to which the security policy applies, either server or connector.</p>"
2405+
},
2406+
"Protocols":{
2407+
"shape":"SecurityPolicyProtocols",
2408+
"documentation":"<p>Lists the file transfer protocols that the security policy applies to.</p>"
23832409
}
23842410
},
2385-
"documentation":"<p>Describes the properties of a security policy that was specified. For more information about security policies, see <a href=\"https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html\">Working with security policies</a>.</p>"
2411+
"documentation":"<p>Describes the properties of a security policy that you specify. For more information about security policies, see <a href=\"https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html\">Working with security policies for servers</a> or <a href=\"https://docs.aws.amazon.com/transfer/latest/userguide/security-policies-connectors.html\">Working with security policies for SFTP connectors</a>.</p>"
23862412
},
23872413
"DescribedServer":{
23882414
"type":"structure",
@@ -2442,7 +2468,7 @@
24422468
},
24432469
"SecurityPolicyName":{
24442470
"shape":"SecurityPolicyName",
2445-
"documentation":"<p>Specifies the name of the security policy that is attached to the server.</p>"
2471+
"documentation":"<p>Specifies the name of the security policy for the server.</p>"
24462472
},
24472473
"ServerId":{
24482474
"shape":"ServerId",
@@ -4144,7 +4170,7 @@
41444170
"type":"string",
41454171
"max":100,
41464172
"min":0,
4147-
"pattern":"TransferSecurityPolicy-.+"
4173+
"pattern":"Transfer[A-Za-z0-9]*SecurityPolicy-[A-Za-z0-9-]+"
41484174
},
41494175
"SecurityPolicyNames":{
41504176
"type":"list",
@@ -4159,6 +4185,26 @@
41594185
"type":"list",
41604186
"member":{"shape":"SecurityPolicyOption"}
41614187
},
4188+
"SecurityPolicyProtocol":{
4189+
"type":"string",
4190+
"enum":[
4191+
"SFTP",
4192+
"FTPS"
4193+
]
4194+
},
4195+
"SecurityPolicyProtocols":{
4196+
"type":"list",
4197+
"member":{"shape":"SecurityPolicyProtocol"},
4198+
"max":5,
4199+
"min":1
4200+
},
4201+
"SecurityPolicyResourceType":{
4202+
"type":"string",
4203+
"enum":[
4204+
"SERVER",
4205+
"CONNECTOR"
4206+
]
4207+
},
41624208
"SendWorkflowStepStateRequest":{
41634209
"type":"structure",
41644210
"required":[
@@ -4785,6 +4831,10 @@
47854831
"SftpConfig":{
47864832
"shape":"SftpConnectorConfig",
47874833
"documentation":"<p>A structure that contains the parameters for an SFTP connector object.</p>"
4834+
},
4835+
"SecurityPolicyName":{
4836+
"shape":"ConnectorSecurityPolicyName",
4837+
"documentation":"<p>Specifies the name of the security policy for the connector.</p>"
47884838
}
47894839
}
47904840
},
@@ -4907,7 +4957,7 @@
49074957
},
49084958
"SecurityPolicyName":{
49094959
"shape":"SecurityPolicyName",
4910-
"documentation":"<p>Specifies the name of the security policy that is attached to the server.</p>"
4960+
"documentation":"<p>Specifies the name of the security policy for the server.</p>"
49114961
},
49124962
"ServerId":{
49134963
"shape":"ServerId",

0 commit comments

Comments
 (0)