Skip to content

Commit 7792202

Browse files
abrooksvmillems
andauthored
Add duration_seconds to list of profile properties (#2812)
Co-authored-by: Matthew Miller <[email protected]>
1 parent f413a8e commit 7792202

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
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 SDK for Java v2",
4+
"contributor": "abrooksv",
5+
"description": "Added the profile key `duration_seconds` to class `ProfileProperty`"
6+
}

core/profiles/src/main/java/software/amazon/awssdk/profiles/ProfileProperty.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ public final class ProfileProperty {
4949
*/
5050
public static final String ROLE_SESSION_NAME = "role_session_name";
5151

52+
/**
53+
* Property name for specifying how long in seconds to assume the role
54+
*/
55+
public static final String DURATION_SECONDS = "duration_seconds";
56+
5257
/**
5358
* Property name for specifying the IAM role external id
5459
*/

0 commit comments

Comments
 (0)