Skip to content

Latest commit

 

History

History
2841 lines (1744 loc) · 155 KB

dataAwsIamPrincipalPolicySimulation.java.md

File metadata and controls

2841 lines (1744 loc) · 155 KB

dataAwsIamPrincipalPolicySimulation Submodule

Constructs

DataAwsIamPrincipalPolicySimulation

Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation aws_iam_principal_policy_simulation}.

Initializers

import com.hashicorp.cdktf.providers.aws.data_aws_iam_principal_policy_simulation.DataAwsIamPrincipalPolicySimulation;

DataAwsIamPrincipalPolicySimulation.Builder.create(Construct scope, java.lang.String id)
//  .connection(SSHProvisionerConnection)
//  .connection(WinrmProvisionerConnection)
//  .count(java.lang.Number)
//  .count(TerraformCount)
//  .dependsOn(java.util.List<ITerraformDependable>)
//  .forEach(ITerraformIterator)
//  .lifecycle(TerraformResourceLifecycle)
//  .provider(TerraformProvider)
//  .provisioners(java.util.List<FileProvisioner)
//  .provisioners(LocalExecProvisioner)
//  .provisioners(RemoteExecProvisioner>)
    .actionNames(java.util.List<java.lang.String>)
    .policySourceArn(java.lang.String)
//  .additionalPoliciesJson(java.util.List<java.lang.String>)
//  .callerArn(java.lang.String)
//  .context(IResolvable)
//  .context(java.util.List<DataAwsIamPrincipalPolicySimulationContext>)
//  .permissionsBoundaryPoliciesJson(java.util.List<java.lang.String>)
//  .resourceArns(java.util.List<java.lang.String>)
//  .resourceHandlingOption(java.lang.String)
//  .resourceOwnerAccountId(java.lang.String)
//  .resourcePolicyJson(java.lang.String)
    .build();
Name Type Description
scope software.constructs.Construct The scope in which to define this construct.
id java.lang.String The scoped construct ID.
connection com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection No description.
count java.lang.Number OR com.hashicorp.cdktf.TerraformCount No description.
dependsOn java.util.List<com.hashicorp.cdktf.ITerraformDependable> No description.
forEach com.hashicorp.cdktf.ITerraformIterator No description.
lifecycle com.hashicorp.cdktf.TerraformResourceLifecycle No description.
provider com.hashicorp.cdktf.TerraformProvider No description.
provisioners java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner> No description.
actionNames java.util.List<java.lang.String> One or more names of actions, like "iam:CreateUser", that should be included in the simulation.
policySourceArn java.lang.String ARN of the principal (e.g. user, role) whose existing configured access policies will be used as the basis for the simulation. If you specify a role ARN here, you can also set caller_arn to simulate a particular user acting with the given role.
additionalPoliciesJson java.util.List<java.lang.String> Additional principal-based policies to use in the simulation.
callerArn java.lang.String ARN of a user to use as the caller of the simulated requests.
context com.hashicorp.cdktf.IResolvable OR java.util.List<DataAwsIamPrincipalPolicySimulationContext> context block.
permissionsBoundaryPoliciesJson java.util.List<java.lang.String> Additional permission boundary policies to use in the simulation.
resourceArns java.util.List<java.lang.String> ARNs of specific resources to use as the targets of the specified actions during simulation.
resourceHandlingOption java.lang.String Specifies the type of simulation to run.
resourceOwnerAccountId java.lang.String An AWS account ID to use as the simulated owner for any resource whose ARN does not include a specific owner account ID.
resourcePolicyJson java.lang.String A resource policy to associate with all of the target resources for simulation purposes.

scopeRequired
  • Type: software.constructs.Construct

The scope in which to define this construct.


idRequired
  • Type: java.lang.String

The scoped construct ID.

Must be unique amongst siblings in the same scope


connectionOptional
  • Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection

countOptional
  • Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount

dependsOnOptional
  • Type: java.util.List<com.hashicorp.cdktf.ITerraformDependable>

forEachOptional
  • Type: com.hashicorp.cdktf.ITerraformIterator

lifecycleOptional
  • Type: com.hashicorp.cdktf.TerraformResourceLifecycle

providerOptional
  • Type: com.hashicorp.cdktf.TerraformProvider

provisionersOptional
  • Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>

actionNamesRequired
  • Type: java.util.List<java.lang.String>

One or more names of actions, like "iam:CreateUser", that should be included in the simulation.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#action_names DataAwsIamPrincipalPolicySimulation#action_names}


policySourceArnRequired
  • Type: java.lang.String

ARN of the principal (e.g. user, role) whose existing configured access policies will be used as the basis for the simulation. If you specify a role ARN here, you can also set caller_arn to simulate a particular user acting with the given role.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#policy_source_arn DataAwsIamPrincipalPolicySimulation#policy_source_arn}


additionalPoliciesJsonOptional
  • Type: java.util.List<java.lang.String>

Additional principal-based policies to use in the simulation.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#additional_policies_json DataAwsIamPrincipalPolicySimulation#additional_policies_json}


callerArnOptional
  • Type: java.lang.String

ARN of a user to use as the caller of the simulated requests.

If not specified, defaults to the principal specified in policy_source_arn, if it is a user ARN.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#caller_arn DataAwsIamPrincipalPolicySimulation#caller_arn}


contextOptional

context block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#context DataAwsIamPrincipalPolicySimulation#context}


permissionsBoundaryPoliciesJsonOptional
  • Type: java.util.List<java.lang.String>

Additional permission boundary policies to use in the simulation.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#permissions_boundary_policies_json DataAwsIamPrincipalPolicySimulation#permissions_boundary_policies_json}


resourceArnsOptional
  • Type: java.util.List<java.lang.String>

ARNs of specific resources to use as the targets of the specified actions during simulation.

If not specified, the simulator assumes "*" which represents general access across all resources.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#resource_arns DataAwsIamPrincipalPolicySimulation#resource_arns}


resourceHandlingOptionOptional
  • Type: java.lang.String

Specifies the type of simulation to run.

Some API operations need a particular resource handling option in order to produce a correct reesult.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#resource_handling_option DataAwsIamPrincipalPolicySimulation#resource_handling_option}


resourceOwnerAccountIdOptional
  • Type: java.lang.String

An AWS account ID to use as the simulated owner for any resource whose ARN does not include a specific owner account ID.

Defaults to the account given as part of caller_arn.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#resource_owner_account_id DataAwsIamPrincipalPolicySimulation#resource_owner_account_id}


resourcePolicyJsonOptional
  • Type: java.lang.String

A resource policy to associate with all of the target resources for simulation purposes.

The policy simulator does not automatically retrieve resource-level policies, so if a resource policy is crucial to your test then you must specify here the same policy document associated with your target resource(s).

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#resource_policy_json DataAwsIamPrincipalPolicySimulation#resource_policy_json}


Methods

Name Description
toString Returns a string representation of this construct.
addOverride No description.
overrideLogicalId Overrides the auto-generated logical ID with a specific ID.
resetOverrideLogicalId Resets a previously passed logical Id to use the auto-generated logical id again.
toHclTerraform Adds this resource to the terraform JSON output.
toMetadata No description.
toTerraform Adds this resource to the terraform JSON output.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
putContext No description.
resetAdditionalPoliciesJson No description.
resetCallerArn No description.
resetContext No description.
resetPermissionsBoundaryPoliciesJson No description.
resetResourceArns No description.
resetResourceHandlingOption No description.
resetResourceOwnerAccountId No description.
resetResourcePolicyJson No description.

toString
public java.lang.String toString()

Returns a string representation of this construct.

addOverride
public void addOverride(java.lang.String path, java.lang.Object value)
pathRequired
  • Type: java.lang.String

valueRequired
  • Type: java.lang.Object

overrideLogicalId
public void overrideLogicalId(java.lang.String newLogicalId)

Overrides the auto-generated logical ID with a specific ID.

newLogicalIdRequired
  • Type: java.lang.String

The new logical ID to use for this stack element.


resetOverrideLogicalId
public void resetOverrideLogicalId()

Resets a previously passed logical Id to use the auto-generated logical id again.

toHclTerraform
public java.lang.Object toHclTerraform()

Adds this resource to the terraform JSON output.

toMetadata
public java.lang.Object toMetadata()
toTerraform
public java.lang.Object toTerraform()

Adds this resource to the terraform JSON output.

getAnyMapAttribute
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanAttribute
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanMapAttribute
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getListAttribute
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberAttribute
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberListAttribute
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberMapAttribute
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringAttribute
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringMapAttribute
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

interpolationForAttribute
public IResolvable interpolationForAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

putContext
public void putContext(IResolvable OR java.util.List<DataAwsIamPrincipalPolicySimulationContext> value)
valueRequired

resetAdditionalPoliciesJson
public void resetAdditionalPoliciesJson()
resetCallerArn
public void resetCallerArn()
resetContext
public void resetContext()
resetPermissionsBoundaryPoliciesJson
public void resetPermissionsBoundaryPoliciesJson()
resetResourceArns
public void resetResourceArns()
resetResourceHandlingOption
public void resetResourceHandlingOption()
resetResourceOwnerAccountId
public void resetResourceOwnerAccountId()
resetResourcePolicyJson
public void resetResourcePolicyJson()

Static Functions

Name Description
isConstruct Checks if x is a construct.
isTerraformElement No description.
isTerraformDataSource No description.
generateConfigForImport Generates CDKTF code for importing a DataAwsIamPrincipalPolicySimulation resource upon running "cdktf plan ".

isConstruct
import com.hashicorp.cdktf.providers.aws.data_aws_iam_principal_policy_simulation.DataAwsIamPrincipalPolicySimulation;

DataAwsIamPrincipalPolicySimulation.isConstruct(java.lang.Object x)

Checks if x is a construct.

Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.

xRequired
  • Type: java.lang.Object

Any object.


isTerraformElement
import com.hashicorp.cdktf.providers.aws.data_aws_iam_principal_policy_simulation.DataAwsIamPrincipalPolicySimulation;

DataAwsIamPrincipalPolicySimulation.isTerraformElement(java.lang.Object x)
xRequired
  • Type: java.lang.Object

isTerraformDataSource
import com.hashicorp.cdktf.providers.aws.data_aws_iam_principal_policy_simulation.DataAwsIamPrincipalPolicySimulation;

DataAwsIamPrincipalPolicySimulation.isTerraformDataSource(java.lang.Object x)
xRequired
  • Type: java.lang.Object

generateConfigForImport
import com.hashicorp.cdktf.providers.aws.data_aws_iam_principal_policy_simulation.DataAwsIamPrincipalPolicySimulation;

DataAwsIamPrincipalPolicySimulation.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataAwsIamPrincipalPolicySimulation.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider)

Generates CDKTF code for importing a DataAwsIamPrincipalPolicySimulation resource upon running "cdktf plan ".

scopeRequired
  • Type: software.constructs.Construct

The scope in which to define this construct.


importToIdRequired
  • Type: java.lang.String

The construct id used in the generated config for the DataAwsIamPrincipalPolicySimulation to import.


importFromIdRequired
  • Type: java.lang.String

The id of the existing DataAwsIamPrincipalPolicySimulation that should be imported.

Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#import import section} in the documentation of this resource for the id to use


providerOptional
  • Type: com.hashicorp.cdktf.TerraformProvider

? Optional instance of the provider where the DataAwsIamPrincipalPolicySimulation to import is found.


Properties

Name Type Description
node software.constructs.Node The tree node.
cdktfStack com.hashicorp.cdktf.TerraformStack No description.
fqn java.lang.String No description.
friendlyUniqueId java.lang.String No description.
terraformMetaArguments java.util.Map<java.lang.String, java.lang.Object> No description.
terraformResourceType java.lang.String No description.
terraformGeneratorMetadata com.hashicorp.cdktf.TerraformProviderGeneratorMetadata No description.
count java.lang.Number OR com.hashicorp.cdktf.TerraformCount No description.
dependsOn java.util.List<java.lang.String> No description.
forEach com.hashicorp.cdktf.ITerraformIterator No description.
lifecycle com.hashicorp.cdktf.TerraformResourceLifecycle No description.
provider com.hashicorp.cdktf.TerraformProvider No description.
allAllowed com.hashicorp.cdktf.IResolvable No description.
context DataAwsIamPrincipalPolicySimulationContextList No description.
id java.lang.String No description.
results DataAwsIamPrincipalPolicySimulationResultsList No description.
actionNamesInput java.util.List<java.lang.String> No description.
additionalPoliciesJsonInput java.util.List<java.lang.String> No description.
callerArnInput java.lang.String No description.
contextInput com.hashicorp.cdktf.IResolvable OR java.util.List<DataAwsIamPrincipalPolicySimulationContext> No description.
permissionsBoundaryPoliciesJsonInput java.util.List<java.lang.String> No description.
policySourceArnInput java.lang.String No description.
resourceArnsInput java.util.List<java.lang.String> No description.
resourceHandlingOptionInput java.lang.String No description.
resourceOwnerAccountIdInput java.lang.String No description.
resourcePolicyJsonInput java.lang.String No description.
actionNames java.util.List<java.lang.String> No description.
additionalPoliciesJson java.util.List<java.lang.String> No description.
callerArn java.lang.String No description.
permissionsBoundaryPoliciesJson java.util.List<java.lang.String> No description.
policySourceArn java.lang.String No description.
resourceArns java.util.List<java.lang.String> No description.
resourceHandlingOption java.lang.String No description.
resourceOwnerAccountId java.lang.String No description.
resourcePolicyJson java.lang.String No description.

nodeRequired
public Node getNode();
  • Type: software.constructs.Node

The tree node.


cdktfStackRequired
public TerraformStack getCdktfStack();
  • Type: com.hashicorp.cdktf.TerraformStack

fqnRequired
public java.lang.String getFqn();
  • Type: java.lang.String

friendlyUniqueIdRequired
public java.lang.String getFriendlyUniqueId();
  • Type: java.lang.String

terraformMetaArgumentsRequired
public java.util.Map<java.lang.String, java.lang.Object> getTerraformMetaArguments();
  • Type: java.util.Map<java.lang.String, java.lang.Object>

terraformResourceTypeRequired
public java.lang.String getTerraformResourceType();
  • Type: java.lang.String

terraformGeneratorMetadataOptional
public TerraformProviderGeneratorMetadata getTerraformGeneratorMetadata();
  • Type: com.hashicorp.cdktf.TerraformProviderGeneratorMetadata

countOptional
public java.lang.Object getCount();
  • Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount

dependsOnOptional
public java.util.List<java.lang.String> getDependsOn();
  • Type: java.util.List<java.lang.String>

forEachOptional
public ITerraformIterator getForEach();
  • Type: com.hashicorp.cdktf.ITerraformIterator

lifecycleOptional
public TerraformResourceLifecycle getLifecycle();
  • Type: com.hashicorp.cdktf.TerraformResourceLifecycle

providerOptional
public TerraformProvider getProvider();
  • Type: com.hashicorp.cdktf.TerraformProvider

allAllowedRequired
public IResolvable getAllAllowed();
  • Type: com.hashicorp.cdktf.IResolvable

contextRequired
public DataAwsIamPrincipalPolicySimulationContextList getContext();

idRequired
public java.lang.String getId();
  • Type: java.lang.String

resultsRequired
public DataAwsIamPrincipalPolicySimulationResultsList getResults();

actionNamesInputOptional
public java.util.List<java.lang.String> getActionNamesInput();
  • Type: java.util.List<java.lang.String>

additionalPoliciesJsonInputOptional
public java.util.List<java.lang.String> getAdditionalPoliciesJsonInput();
  • Type: java.util.List<java.lang.String>

callerArnInputOptional
public java.lang.String getCallerArnInput();
  • Type: java.lang.String

contextInputOptional
public java.lang.Object getContextInput();

permissionsBoundaryPoliciesJsonInputOptional
public java.util.List<java.lang.String> getPermissionsBoundaryPoliciesJsonInput();
  • Type: java.util.List<java.lang.String>

policySourceArnInputOptional
public java.lang.String getPolicySourceArnInput();
  • Type: java.lang.String

resourceArnsInputOptional
public java.util.List<java.lang.String> getResourceArnsInput();
  • Type: java.util.List<java.lang.String>

resourceHandlingOptionInputOptional
public java.lang.String getResourceHandlingOptionInput();
  • Type: java.lang.String

resourceOwnerAccountIdInputOptional
public java.lang.String getResourceOwnerAccountIdInput();
  • Type: java.lang.String

resourcePolicyJsonInputOptional
public java.lang.String getResourcePolicyJsonInput();
  • Type: java.lang.String

actionNamesRequired
public java.util.List<java.lang.String> getActionNames();
  • Type: java.util.List<java.lang.String>

additionalPoliciesJsonRequired
public java.util.List<java.lang.String> getAdditionalPoliciesJson();
  • Type: java.util.List<java.lang.String>

callerArnRequired
public java.lang.String getCallerArn();
  • Type: java.lang.String

permissionsBoundaryPoliciesJsonRequired
public java.util.List<java.lang.String> getPermissionsBoundaryPoliciesJson();
  • Type: java.util.List<java.lang.String>

policySourceArnRequired
public java.lang.String getPolicySourceArn();
  • Type: java.lang.String

resourceArnsRequired
public java.util.List<java.lang.String> getResourceArns();
  • Type: java.util.List<java.lang.String>

resourceHandlingOptionRequired
public java.lang.String getResourceHandlingOption();
  • Type: java.lang.String

resourceOwnerAccountIdRequired
public java.lang.String getResourceOwnerAccountId();
  • Type: java.lang.String

resourcePolicyJsonRequired
public java.lang.String getResourcePolicyJson();
  • Type: java.lang.String

Constants

Name Type Description
tfResourceType java.lang.String No description.

tfResourceTypeRequired
public java.lang.String getTfResourceType();
  • Type: java.lang.String

Structs

DataAwsIamPrincipalPolicySimulationConfig

Initializer

import com.hashicorp.cdktf.providers.aws.data_aws_iam_principal_policy_simulation.DataAwsIamPrincipalPolicySimulationConfig;

DataAwsIamPrincipalPolicySimulationConfig.builder()
//  .connection(SSHProvisionerConnection)
//  .connection(WinrmProvisionerConnection)
//  .count(java.lang.Number)
//  .count(TerraformCount)
//  .dependsOn(java.util.List<ITerraformDependable>)
//  .forEach(ITerraformIterator)
//  .lifecycle(TerraformResourceLifecycle)
//  .provider(TerraformProvider)
//  .provisioners(java.util.List<FileProvisioner)
//  .provisioners(LocalExecProvisioner)
//  .provisioners(RemoteExecProvisioner>)
    .actionNames(java.util.List<java.lang.String>)
    .policySourceArn(java.lang.String)
//  .additionalPoliciesJson(java.util.List<java.lang.String>)
//  .callerArn(java.lang.String)
//  .context(IResolvable)
//  .context(java.util.List<DataAwsIamPrincipalPolicySimulationContext>)
//  .permissionsBoundaryPoliciesJson(java.util.List<java.lang.String>)
//  .resourceArns(java.util.List<java.lang.String>)
//  .resourceHandlingOption(java.lang.String)
//  .resourceOwnerAccountId(java.lang.String)
//  .resourcePolicyJson(java.lang.String)
    .build();

Properties

Name Type Description
connection com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection No description.
count java.lang.Number OR com.hashicorp.cdktf.TerraformCount No description.
dependsOn java.util.List<com.hashicorp.cdktf.ITerraformDependable> No description.
forEach com.hashicorp.cdktf.ITerraformIterator No description.
lifecycle com.hashicorp.cdktf.TerraformResourceLifecycle No description.
provider com.hashicorp.cdktf.TerraformProvider No description.
provisioners java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner> No description.
actionNames java.util.List<java.lang.String> One or more names of actions, like "iam:CreateUser", that should be included in the simulation.
policySourceArn java.lang.String ARN of the principal (e.g. user, role) whose existing configured access policies will be used as the basis for the simulation. If you specify a role ARN here, you can also set caller_arn to simulate a particular user acting with the given role.
additionalPoliciesJson java.util.List<java.lang.String> Additional principal-based policies to use in the simulation.
callerArn java.lang.String ARN of a user to use as the caller of the simulated requests.
context com.hashicorp.cdktf.IResolvable OR java.util.List<DataAwsIamPrincipalPolicySimulationContext> context block.
permissionsBoundaryPoliciesJson java.util.List<java.lang.String> Additional permission boundary policies to use in the simulation.
resourceArns java.util.List<java.lang.String> ARNs of specific resources to use as the targets of the specified actions during simulation.
resourceHandlingOption java.lang.String Specifies the type of simulation to run.
resourceOwnerAccountId java.lang.String An AWS account ID to use as the simulated owner for any resource whose ARN does not include a specific owner account ID.
resourcePolicyJson java.lang.String A resource policy to associate with all of the target resources for simulation purposes.

connectionOptional
public java.lang.Object getConnection();
  • Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection

countOptional
public java.lang.Object getCount();
  • Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount

dependsOnOptional
public java.util.List<ITerraformDependable> getDependsOn();
  • Type: java.util.List<com.hashicorp.cdktf.ITerraformDependable>

forEachOptional
public ITerraformIterator getForEach();
  • Type: com.hashicorp.cdktf.ITerraformIterator

lifecycleOptional
public TerraformResourceLifecycle getLifecycle();
  • Type: com.hashicorp.cdktf.TerraformResourceLifecycle

providerOptional
public TerraformProvider getProvider();
  • Type: com.hashicorp.cdktf.TerraformProvider

provisionersOptional
public java.lang.Object getProvisioners();
  • Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>

actionNamesRequired
public java.util.List<java.lang.String> getActionNames();
  • Type: java.util.List<java.lang.String>

One or more names of actions, like "iam:CreateUser", that should be included in the simulation.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#action_names DataAwsIamPrincipalPolicySimulation#action_names}


policySourceArnRequired
public java.lang.String getPolicySourceArn();
  • Type: java.lang.String

ARN of the principal (e.g. user, role) whose existing configured access policies will be used as the basis for the simulation. If you specify a role ARN here, you can also set caller_arn to simulate a particular user acting with the given role.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#policy_source_arn DataAwsIamPrincipalPolicySimulation#policy_source_arn}


additionalPoliciesJsonOptional
public java.util.List<java.lang.String> getAdditionalPoliciesJson();
  • Type: java.util.List<java.lang.String>

Additional principal-based policies to use in the simulation.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#additional_policies_json DataAwsIamPrincipalPolicySimulation#additional_policies_json}


callerArnOptional
public java.lang.String getCallerArn();
  • Type: java.lang.String

ARN of a user to use as the caller of the simulated requests.

If not specified, defaults to the principal specified in policy_source_arn, if it is a user ARN.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#caller_arn DataAwsIamPrincipalPolicySimulation#caller_arn}


contextOptional
public java.lang.Object getContext();

context block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#context DataAwsIamPrincipalPolicySimulation#context}


permissionsBoundaryPoliciesJsonOptional
public java.util.List<java.lang.String> getPermissionsBoundaryPoliciesJson();
  • Type: java.util.List<java.lang.String>

Additional permission boundary policies to use in the simulation.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#permissions_boundary_policies_json DataAwsIamPrincipalPolicySimulation#permissions_boundary_policies_json}


resourceArnsOptional
public java.util.List<java.lang.String> getResourceArns();
  • Type: java.util.List<java.lang.String>

ARNs of specific resources to use as the targets of the specified actions during simulation.

If not specified, the simulator assumes "*" which represents general access across all resources.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#resource_arns DataAwsIamPrincipalPolicySimulation#resource_arns}


resourceHandlingOptionOptional
public java.lang.String getResourceHandlingOption();
  • Type: java.lang.String

Specifies the type of simulation to run.

Some API operations need a particular resource handling option in order to produce a correct reesult.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#resource_handling_option DataAwsIamPrincipalPolicySimulation#resource_handling_option}


resourceOwnerAccountIdOptional
public java.lang.String getResourceOwnerAccountId();
  • Type: java.lang.String

An AWS account ID to use as the simulated owner for any resource whose ARN does not include a specific owner account ID.

Defaults to the account given as part of caller_arn.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#resource_owner_account_id DataAwsIamPrincipalPolicySimulation#resource_owner_account_id}


resourcePolicyJsonOptional
public java.lang.String getResourcePolicyJson();
  • Type: java.lang.String

A resource policy to associate with all of the target resources for simulation purposes.

The policy simulator does not automatically retrieve resource-level policies, so if a resource policy is crucial to your test then you must specify here the same policy document associated with your target resource(s).

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#resource_policy_json DataAwsIamPrincipalPolicySimulation#resource_policy_json}


DataAwsIamPrincipalPolicySimulationContext

Initializer

import com.hashicorp.cdktf.providers.aws.data_aws_iam_principal_policy_simulation.DataAwsIamPrincipalPolicySimulationContext;

DataAwsIamPrincipalPolicySimulationContext.builder()
    .key(java.lang.String)
    .type(java.lang.String)
    .values(java.util.List<java.lang.String>)
    .build();

Properties

Name Type Description
key java.lang.String The key name of the context entry, such as "aws:CurrentTime".
type java.lang.String The type that the simulator should use to interpret the strings given in argument "values".
values java.util.List<java.lang.String> One or more values to assign to the context key, given as a string in a syntax appropriate for the selected value type.

keyRequired
public java.lang.String getKey();
  • Type: java.lang.String

The key name of the context entry, such as "aws:CurrentTime".

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#key DataAwsIamPrincipalPolicySimulation#key}


typeRequired
public java.lang.String getType();
  • Type: java.lang.String

The type that the simulator should use to interpret the strings given in argument "values".

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#type DataAwsIamPrincipalPolicySimulation#type}


valuesRequired
public java.util.List<java.lang.String> getValues();
  • Type: java.util.List<java.lang.String>

One or more values to assign to the context key, given as a string in a syntax appropriate for the selected value type.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/data-sources/iam_principal_policy_simulation#values DataAwsIamPrincipalPolicySimulation#values}


DataAwsIamPrincipalPolicySimulationResults

Initializer

import com.hashicorp.cdktf.providers.aws.data_aws_iam_principal_policy_simulation.DataAwsIamPrincipalPolicySimulationResults;

DataAwsIamPrincipalPolicySimulationResults.builder()
    .build();

DataAwsIamPrincipalPolicySimulationResultsMatchedStatements

Initializer

import com.hashicorp.cdktf.providers.aws.data_aws_iam_principal_policy_simulation.DataAwsIamPrincipalPolicySimulationResultsMatchedStatements;

DataAwsIamPrincipalPolicySimulationResultsMatchedStatements.builder()
    .build();

Classes

DataAwsIamPrincipalPolicySimulationContextList

Initializers

import com.hashicorp.cdktf.providers.aws.data_aws_iam_principal_policy_simulation.DataAwsIamPrincipalPolicySimulationContextList;

new DataAwsIamPrincipalPolicySimulationContextList(IInterpolatingParent terraformResource, java.lang.String terraformAttribute, java.lang.Boolean wrapsSet);
Name Type Description
terraformResource com.hashicorp.cdktf.IInterpolatingParent The parent resource.
terraformAttribute java.lang.String The attribute on the parent resource this class is referencing.
wrapsSet java.lang.Boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: com.hashicorp.cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: java.lang.String

The attribute on the parent resource this class is referencing.


wrapsSetRequired
  • Type: java.lang.Boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
allWithMapKey Creating an iterator for this complex list.
computeFqn No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
get No description.

allWithMapKey
public DynamicListTerraformIterator allWithMapKey(java.lang.String mapKeyAttributeName)

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

mapKeyAttributeNameRequired
  • Type: java.lang.String

computeFqn
public java.lang.String computeFqn()
resolve
public java.lang.Object resolve(IResolveContext _context)

Produce the Token's value at resolution time.

_contextRequired
  • Type: com.hashicorp.cdktf.IResolveContext

toString
public java.lang.String toString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
public DataAwsIamPrincipalPolicySimulationContextOutputReference get(java.lang.Number index)
indexRequired
  • Type: java.lang.Number

the index of the item to return.


Properties

Name Type Description
creationStack java.util.List<java.lang.String> The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn java.lang.String No description.
internalValue com.hashicorp.cdktf.IResolvable OR java.util.List<DataAwsIamPrincipalPolicySimulationContext> No description.

creationStackRequired
public java.util.List<java.lang.String> getCreationStack();
  • Type: java.util.List<java.lang.String>

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public java.lang.String getFqn();
  • Type: java.lang.String

internalValueOptional
public java.lang.Object getInternalValue();

DataAwsIamPrincipalPolicySimulationContextOutputReference

Initializers

import com.hashicorp.cdktf.providers.aws.data_aws_iam_principal_policy_simulation.DataAwsIamPrincipalPolicySimulationContextOutputReference;

new DataAwsIamPrincipalPolicySimulationContextOutputReference(IInterpolatingParent terraformResource, java.lang.String terraformAttribute, java.lang.Number complexObjectIndex, java.lang.Boolean complexObjectIsFromSet);
Name Type Description
terraformResource com.hashicorp.cdktf.IInterpolatingParent The parent resource.
terraformAttribute java.lang.String The attribute on the parent resource this class is referencing.
complexObjectIndex java.lang.Number the index of this item in the list.
complexObjectIsFromSet java.lang.Boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: com.hashicorp.cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: java.lang.String

The attribute on the parent resource this class is referencing.


complexObjectIndexRequired
  • Type: java.lang.Number

the index of this item in the list.


complexObjectIsFromSetRequired
  • Type: java.lang.Boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.

computeFqn
public java.lang.String computeFqn()
getAnyMapAttribute
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanAttribute
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanMapAttribute
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getListAttribute
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberAttribute
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberListAttribute
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberMapAttribute
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringAttribute
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringMapAttribute
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

interpolationForAttribute
public IResolvable interpolationForAttribute(java.lang.String property)
propertyRequired
  • Type: java.lang.String

resolve
public java.lang.Object resolve(IResolveContext _context)

Produce the Token's value at resolution time.

_contextRequired
  • Type: com.hashicorp.cdktf.IResolveContext

toString
public java.lang.String toString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creationStack java.util.List<java.lang.String> The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn java.lang.String No description.
keyInput java.lang.String No description.
typeInput java.lang.String No description.
valuesInput java.util.List<java.lang.String> No description.
key java.lang.String No description.
type java.lang.String No description.
values java.util.List<java.lang.String> No description.
internalValue com.hashicorp.cdktf.IResolvable OR DataAwsIamPrincipalPolicySimulationContext No description.

creationStackRequired
public java.util.List<java.lang.String> getCreationStack();
  • Type: java.util.List<java.lang.String>

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public java.lang.String getFqn();
  • Type: java.lang.String

keyInputOptional
public java.lang.String getKeyInput();
  • Type: java.lang.String

typeInputOptional
public java.lang.String getTypeInput();
  • Type: java.lang.String

valuesInputOptional
public java.util.List<java.lang.String> getValuesInput();
  • Type: java.util.List<java.lang.String>

keyRequired
public java.lang.String getKey();
  • Type: java.lang.String

typeRequired
public java.lang.String getType();
  • Type: java.lang.String

valuesRequired
public java.util.List<java.lang.String> getValues();
  • Type: java.util.List<java.lang.String>

internalValueOptional
public java.lang.Object getInternalValue();

DataAwsIamPrincipalPolicySimulationResultsList

Initializers

import com.hashicorp.cdktf.providers.aws.data_aws_iam_principal_policy_simulation.DataAwsIamPrincipalPolicySimulationResultsList;

new DataAwsIamPrincipalPolicySimulationResultsList(IInterpolatingParent terraformResource, java.lang.String terraformAttribute, java.lang.Boolean wrapsSet);
Name Type Description
terraformResource com.hashicorp.cdktf.IInterpolatingParent The parent resource.
terraformAttribute java.lang.String The attribute on the parent resource this class is referencing.
wrapsSet java.lang.Boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: com.hashicorp.cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: java.lang.String

The attribute on the parent resource this class is referencing.


wrapsSetRequired
  • Type: java.lang.Boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
allWithMapKey Creating an iterator for this complex list.
computeFqn No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
get No description.

allWithMapKey
public DynamicListTerraformIterator allWithMapKey(java.lang.String mapKeyAttributeName)

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

mapKeyAttributeNameRequired
  • Type: java.lang.String

computeFqn
public java.lang.String computeFqn()
resolve
public java.lang.Object resolve(IResolveContext _context)

Produce the Token's value at resolution time.

_contextRequired
  • Type: com.hashicorp.cdktf.IResolveContext

toString
public java.lang.String toString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
public DataAwsIamPrincipalPolicySimulationResultsOutputReference get(java.lang.Number index)
indexRequired
  • Type: java.lang.Number

the index of the item to return.


Properties

Name Type Description
creationStack java.util.List<java.lang.String> The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn java.lang.String No description.

creationStackRequired
public java.util.List<java.lang.String> getCreationStack();
  • Type: java.util.List<java.lang.String>

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public java.lang.String getFqn();
  • Type: java.lang.String

DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList

Initializers

import com.hashicorp.cdktf.providers.aws.data_aws_iam_principal_policy_simulation.DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList;

new DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList(IInterpolatingParent terraformResource, java.lang.String terraformAttribute, java.lang.Boolean wrapsSet);
Name Type Description
terraformResource com.hashicorp.cdktf.IInterpolatingParent The parent resource.
terraformAttribute java.lang.String The attribute on the parent resource this class is referencing.
wrapsSet java.lang.Boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: com.hashicorp.cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: java.lang.String

The attribute on the parent resource this class is referencing.


wrapsSetRequired
  • Type: java.lang.Boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
allWithMapKey Creating an iterator for this complex list.
computeFqn No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
get No description.

allWithMapKey
public DynamicListTerraformIterator allWithMapKey(java.lang.String mapKeyAttributeName)

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

mapKeyAttributeNameRequired
  • Type: java.lang.String

computeFqn
public java.lang.String computeFqn()
resolve
public java.lang.Object resolve(IResolveContext _context)

Produce the Token's value at resolution time.

_contextRequired
  • Type: com.hashicorp.cdktf.IResolveContext

toString
public java.lang.String toString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
public DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference get(java.lang.Number index)
indexRequired
  • Type: java.lang.Number

the index of the item to return.


Properties

Name Type Description
creationStack java.util.List<java.lang.String> The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn java.lang.String No description.

creationStackRequired
public java.util.List<java.lang.String> getCreationStack();
  • Type: java.util.List<java.lang.String>

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public java.lang.String getFqn();
  • Type: java.lang.String

DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference

Initializers

import com.hashicorp.cdktf.providers.aws.data_aws_iam_principal_policy_simulation.DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference;

new DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference(IInterpolatingParent terraformResource, java.lang.String terraformAttribute, java.lang.Number complexObjectIndex, java.lang.Boolean complexObjectIsFromSet);
Name Type Description
terraformResource com.hashicorp.cdktf.IInterpolatingParent The parent resource.
terraformAttribute java.lang.String The attribute on the parent resource this class is referencing.
complexObjectIndex java.lang.Number the index of this item in the list.
complexObjectIsFromSet java.lang.Boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: com.hashicorp.cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: java.lang.String

The attribute on the parent resource this class is referencing.


complexObjectIndexRequired
  • Type: java.lang.Number

the index of this item in the list.


complexObjectIsFromSetRequired
  • Type: java.lang.Boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.

computeFqn
public java.lang.String computeFqn()
getAnyMapAttribute
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanAttribute
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanMapAttribute
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getListAttribute
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberAttribute
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberListAttribute
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberMapAttribute
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringAttribute
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringMapAttribute
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

interpolationForAttribute
public IResolvable interpolationForAttribute(java.lang.String property)
propertyRequired
  • Type: java.lang.String

resolve
public java.lang.Object resolve(IResolveContext _context)

Produce the Token's value at resolution time.

_contextRequired
  • Type: com.hashicorp.cdktf.IResolveContext

toString
public java.lang.String toString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creationStack java.util.List<java.lang.String> The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn java.lang.String No description.
sourcePolicyId java.lang.String No description.
sourcePolicyType java.lang.String No description.
internalValue DataAwsIamPrincipalPolicySimulationResultsMatchedStatements No description.

creationStackRequired
public java.util.List<java.lang.String> getCreationStack();
  • Type: java.util.List<java.lang.String>

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public java.lang.String getFqn();
  • Type: java.lang.String

sourcePolicyIdRequired
public java.lang.String getSourcePolicyId();
  • Type: java.lang.String

sourcePolicyTypeRequired
public java.lang.String getSourcePolicyType();
  • Type: java.lang.String

internalValueOptional
public DataAwsIamPrincipalPolicySimulationResultsMatchedStatements getInternalValue();

DataAwsIamPrincipalPolicySimulationResultsOutputReference

Initializers

import com.hashicorp.cdktf.providers.aws.data_aws_iam_principal_policy_simulation.DataAwsIamPrincipalPolicySimulationResultsOutputReference;

new DataAwsIamPrincipalPolicySimulationResultsOutputReference(IInterpolatingParent terraformResource, java.lang.String terraformAttribute, java.lang.Number complexObjectIndex, java.lang.Boolean complexObjectIsFromSet);
Name Type Description
terraformResource com.hashicorp.cdktf.IInterpolatingParent The parent resource.
terraformAttribute java.lang.String The attribute on the parent resource this class is referencing.
complexObjectIndex java.lang.Number the index of this item in the list.
complexObjectIsFromSet java.lang.Boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: com.hashicorp.cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: java.lang.String

The attribute on the parent resource this class is referencing.


complexObjectIndexRequired
  • Type: java.lang.Number

the index of this item in the list.


complexObjectIsFromSetRequired
  • Type: java.lang.Boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.

computeFqn
public java.lang.String computeFqn()
getAnyMapAttribute
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanAttribute
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanMapAttribute
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getListAttribute
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberAttribute
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberListAttribute
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberMapAttribute
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringAttribute
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringMapAttribute
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

interpolationForAttribute
public IResolvable interpolationForAttribute(java.lang.String property)
propertyRequired
  • Type: java.lang.String

resolve
public java.lang.Object resolve(IResolveContext _context)

Produce the Token's value at resolution time.

_contextRequired
  • Type: com.hashicorp.cdktf.IResolveContext

toString
public java.lang.String toString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creationStack java.util.List<java.lang.String> The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn java.lang.String No description.
actionName java.lang.String No description.
allowed com.hashicorp.cdktf.IResolvable No description.
decision java.lang.String No description.
decisionDetails com.hashicorp.cdktf.StringMap No description.
matchedStatements DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList No description.
missingContextKeys java.util.List<java.lang.String> No description.
resourceArn java.lang.String No description.
internalValue DataAwsIamPrincipalPolicySimulationResults No description.

creationStackRequired
public java.util.List<java.lang.String> getCreationStack();
  • Type: java.util.List<java.lang.String>

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public java.lang.String getFqn();
  • Type: java.lang.String

actionNameRequired
public java.lang.String getActionName();
  • Type: java.lang.String

allowedRequired
public IResolvable getAllowed();
  • Type: com.hashicorp.cdktf.IResolvable

decisionRequired
public java.lang.String getDecision();
  • Type: java.lang.String

decisionDetailsRequired
public StringMap getDecisionDetails();
  • Type: com.hashicorp.cdktf.StringMap

matchedStatementsRequired
public DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList getMatchedStatements();

missingContextKeysRequired
public java.util.List<java.lang.String> getMissingContextKeys();
  • Type: java.util.List<java.lang.String>

resourceArnRequired
public java.lang.String getResourceArn();
  • Type: java.lang.String

internalValueOptional
public DataAwsIamPrincipalPolicySimulationResults getInternalValue();