@@ -1057,6 +1057,12 @@ export interface CreateConnectorRequest {
1057
1057
* @public
1058
1058
*/
1059
1059
SftpConfig ?: SftpConnectorConfig ;
1060
+
1061
+ /**
1062
+ * <p>Specifies the name of the security policy for the connector.</p>
1063
+ * @public
1064
+ */
1065
+ SecurityPolicyName ?: string ;
1060
1066
}
1061
1067
1062
1068
/**
@@ -1827,7 +1833,7 @@ export interface CreateServerRequest {
1827
1833
ProtocolDetails ?: ProtocolDetails ;
1828
1834
1829
1835
/**
1830
- * <p>Specifies the name of the security policy that is attached to the server.</p>
1836
+ * <p>Specifies the name of the security policy for the server.</p>
1831
1837
* @public
1832
1838
*/
1833
1839
SecurityPolicyName ?: string ;
@@ -3116,6 +3122,12 @@ export interface DescribedConnector {
3116
3122
* @public
3117
3123
*/
3118
3124
ServiceManagedEgressIpAddresses ?: string [ ] ;
3125
+
3126
+ /**
3127
+ * <p>The text name of the security policy for the specified connector.</p>
3128
+ * @public
3129
+ */
3130
+ SecurityPolicyName ?: string ;
3119
3131
}
3120
3132
3121
3133
/**
@@ -3590,52 +3602,108 @@ export interface DescribedProfile {
3590
3602
}
3591
3603
3592
3604
/**
3593
- * <p>Describes the properties of a security policy that was specified. For more information
3605
+ * @public
3606
+ * @enum
3607
+ */
3608
+ export const SecurityPolicyProtocol = {
3609
+ FTPS : "FTPS" ,
3610
+ SFTP : "SFTP" ,
3611
+ } as const ;
3612
+
3613
+ /**
3614
+ * @public
3615
+ */
3616
+ export type SecurityPolicyProtocol = ( typeof SecurityPolicyProtocol ) [ keyof typeof SecurityPolicyProtocol ] ;
3617
+
3618
+ /**
3619
+ * @public
3620
+ * @enum
3621
+ */
3622
+ export const SecurityPolicyResourceType = {
3623
+ CONNECTOR : "CONNECTOR" ,
3624
+ SERVER : "SERVER" ,
3625
+ } as const ;
3626
+
3627
+ /**
3628
+ * @public
3629
+ */
3630
+ export type SecurityPolicyResourceType = ( typeof SecurityPolicyResourceType ) [ keyof typeof SecurityPolicyResourceType ] ;
3631
+
3632
+ /**
3633
+ * <p>Describes the properties of a security policy that you specify. For more information
3594
3634
* about security policies, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html">Working with security
3595
- * policies</a>.</p>
3635
+ * policies for servers</a> or <a href="https://docs.aws.amazon.com/transfer/latest/userguide/security-policies-connectors.html">Working with security
3636
+ * policies for SFTP connectors</a>.</p>
3596
3637
* @public
3597
3638
*/
3598
3639
export interface DescribedSecurityPolicy {
3599
3640
/**
3600
- * <p>Specifies whether this policy enables Federal Information Processing Standards
3601
- * (FIPS) .</p>
3641
+ * <p>Specifies whether this policy enables Federal Information Processing Standards (FIPS).
3642
+ * This parameter applies to both server and connector security policies .</p>
3602
3643
* @public
3603
3644
*/
3604
3645
Fips ?: boolean ;
3605
3646
3606
3647
/**
3607
- * <p>Specifies the name of the security policy that is attached to the server .</p>
3648
+ * <p>The text name of the specified security policy.</p>
3608
3649
* @public
3609
3650
*/
3610
3651
SecurityPolicyName : string | undefined ;
3611
3652
3612
3653
/**
3613
- * <p>Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security
3614
- * policy that is attached to the server.</p>
3654
+ * <p>Lists the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy
3655
+ * that is attached to the server or connector. This parameter applies to both server and
3656
+ * connector security policies.</p>
3615
3657
* @public
3616
3658
*/
3617
3659
SshCiphers ?: string [ ] ;
3618
3660
3619
3661
/**
3620
- * <p>Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy
3621
- * that is attached to the server.</p>
3662
+ * <p>Lists the enabled SSH key exchange (KEX) encryption algorithms in the security policy that
3663
+ * is attached to the server or connector. This parameter applies to both server and connector
3664
+ * security policies.</p>
3622
3665
* @public
3623
3666
*/
3624
3667
SshKexs ?: string [ ] ;
3625
3668
3626
3669
/**
3627
- * <p>Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the
3628
- * security policy that is attached to the server.</p>
3670
+ * <p>Lists the enabled SSH message authentication code (MAC) encryption algorithms in the
3671
+ * security policy that is attached to the server or connector. This parameter applies to both
3672
+ * server and connector security policies.</p>
3629
3673
* @public
3630
3674
*/
3631
3675
SshMacs ?: string [ ] ;
3632
3676
3633
3677
/**
3634
- * <p>Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the
3678
+ * <p>Lists the enabled Transport Layer Security (TLS) cipher encryption algorithms in the
3635
3679
* security policy that is attached to the server.</p>
3680
+ * <note>
3681
+ * <p>This parameter only applies to security policies for servers.</p>
3682
+ * </note>
3636
3683
* @public
3637
3684
*/
3638
3685
TlsCiphers ?: string [ ] ;
3686
+
3687
+ /**
3688
+ * <p>Lists the host key algorithms for the security policy.</p>
3689
+ * <note>
3690
+ * <p>This parameter only applies to security policies for connectors.</p>
3691
+ * </note>
3692
+ * @public
3693
+ */
3694
+ SshHostKeyAlgorithms ?: string [ ] ;
3695
+
3696
+ /**
3697
+ * <p>The resource type to which the security policy applies, either server or connector.</p>
3698
+ * @public
3699
+ */
3700
+ Type ?: SecurityPolicyResourceType ;
3701
+
3702
+ /**
3703
+ * <p>Lists the file transfer protocols that the security policy applies to.</p>
3704
+ * @public
3705
+ */
3706
+ Protocols ?: SecurityPolicyProtocol [ ] ;
3639
3707
}
3640
3708
3641
3709
/**
@@ -3846,7 +3914,7 @@ export interface DescribedServer {
3846
3914
Protocols ?: Protocol [ ] ;
3847
3915
3848
3916
/**
3849
- * <p>Specifies the name of the security policy that is attached to the server.</p>
3917
+ * <p>Specifies the name of the security policy for the server.</p>
3850
3918
* @public
3851
3919
*/
3852
3920
SecurityPolicyName ?: string ;
@@ -4197,7 +4265,7 @@ export interface DescribeProfileResponse {
4197
4265
*/
4198
4266
export interface DescribeSecurityPolicyRequest {
4199
4267
/**
4200
- * <p>Specifies the name of the security policy that is attached to the server .</p>
4268
+ * <p>Specify the text name of the security policy for which you want the details .</p>
4201
4269
* @public
4202
4270
*/
4203
4271
SecurityPolicyName : string | undefined ;
@@ -6179,6 +6247,12 @@ export interface UpdateConnectorRequest {
6179
6247
* @public
6180
6248
*/
6181
6249
SftpConfig ?: SftpConnectorConfig ;
6250
+
6251
+ /**
6252
+ * <p>Specifies the name of the security policy for the connector.</p>
6253
+ * @public
6254
+ */
6255
+ SecurityPolicyName ?: string ;
6182
6256
}
6183
6257
6184
6258
/**
@@ -6480,7 +6554,7 @@ export interface UpdateServerRequest {
6480
6554
Protocols ?: Protocol [ ] ;
6481
6555
6482
6556
/**
6483
- * <p>Specifies the name of the security policy that is attached to the server.</p>
6557
+ * <p>Specifies the name of the security policy for the server.</p>
6484
6558
* @public
6485
6559
*/
6486
6560
SecurityPolicyName ?: string ;
0 commit comments