@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:54.938Z") @Stability(value=Stable) public class CfnProfile extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.rolesanywhere.*;
CfnProfile cfnProfile = CfnProfile.Builder.create(this, "MyCfnProfile")
.durationSeconds(123)
.enabled(false)
.managedPolicyArns(List.of("managedPolicyArns"))
.name("name")
.requireInstanceProperties(false)
.roleArns(List.of("roleArns"))
.sessionPolicy("sessionPolicy")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnProfile.Builder
A fluent builder for
CfnProfile. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnProfile(Construct scope,
String id)
Create a new `AWS::RolesAnywhere::Profile`.
|
|
CfnProfile(Construct scope,
String id,
CfnProfileProps props)
Create a new `AWS::RolesAnywhere::Profile`.
|
protected |
CfnProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnProfile(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrProfileArn() |
String |
getAttrProfileId() |
protected Map<String,Object> |
getCfnProperties() |
Number |
getDurationSeconds()
`AWS::RolesAnywhere::Profile.DurationSeconds`.
|
Object |
getEnabled()
`AWS::RolesAnywhere::Profile.Enabled`.
|
List<String> |
getManagedPolicyArns()
`AWS::RolesAnywhere::Profile.ManagedPolicyArns`.
|
String |
getName()
`AWS::RolesAnywhere::Profile.Name`.
|
Object |
getRequireInstanceProperties()
`AWS::RolesAnywhere::Profile.RequireInstanceProperties`.
|
List<String> |
getRoleArns()
`AWS::RolesAnywhere::Profile.RoleArns`.
|
String |
getSessionPolicy()
`AWS::RolesAnywhere::Profile.SessionPolicy`.
|
TagManager |
getTags()
`AWS::RolesAnywhere::Profile.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDurationSeconds(Number value)
`AWS::RolesAnywhere::Profile.DurationSeconds`.
|
void |
setEnabled(Boolean value)
`AWS::RolesAnywhere::Profile.Enabled`.
|
void |
setEnabled(IResolvable value)
`AWS::RolesAnywhere::Profile.Enabled`.
|
void |
setManagedPolicyArns(List<String> value)
`AWS::RolesAnywhere::Profile.ManagedPolicyArns`.
|
void |
setName(String value)
`AWS::RolesAnywhere::Profile.Name`.
|
void |
setRequireInstanceProperties(Boolean value)
`AWS::RolesAnywhere::Profile.RequireInstanceProperties`.
|
void |
setRequireInstanceProperties(IResolvable value)
`AWS::RolesAnywhere::Profile.RequireInstanceProperties`.
|
void |
setRoleArns(List<String> value)
`AWS::RolesAnywhere::Profile.RoleArns`.
|
void |
setSessionPolicy(String value)
`AWS::RolesAnywhere::Profile.SessionPolicy`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnProfile(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnProfile(@NotNull
Construct scope,
@NotNull
String id,
@Nullable
CfnProfileProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrProfileArn()
@Stability(value=Stable) @NotNull public String getAttrProfileId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Number getDurationSeconds()
@Stability(value=Stable)
public void setDurationSeconds(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Object getEnabled()
@Stability(value=Stable)
public void setEnabled(@Nullable
Boolean value)
@Stability(value=Stable)
public void setEnabled(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public List<String> getManagedPolicyArns()
@Stability(value=Stable)
public void setManagedPolicyArns(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getRequireInstanceProperties()
@Stability(value=Stable)
public void setRequireInstanceProperties(@Nullable
Boolean value)
@Stability(value=Stable)
public void setRequireInstanceProperties(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public List<String> getRoleArns()
@Stability(value=Stable)
public void setRoleArns(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public String getSessionPolicy()
@Stability(value=Stable)
public void setSessionPolicy(@Nullable
String value)
Copyright © 2022. All rights reserved.