Skip to content

Commit 525b559

Browse files
authored
fix(iam-user): allow bypass permission boundary removal (#750)
* fix(iam-user): allow bypass permission boundary removal * docs: update auto-generated docs * test: fix iam user tests * chore: fix lint violation
1 parent 95a7fd3 commit 525b559

16 files changed

+399
-79
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
generated: true
3+
---
4+
5+
# BedrockAgentAlias
6+
7+
8+
## Resource
9+
10+
```text
11+
BedrockAgentAlias
12+
```
13+
14+
## Properties
15+
16+
17+
- `AgentAliasID`: No Description
18+
- `AgentAliasName`: No Description
19+
- `AgentID`: No Description
20+
21+
!!! note - Using Properties
22+
Properties are what [Filters](../config-filtering.md) are written against in your configuration. You use the property
23+
names to write filters for what you want to **keep** and omit from the nuke process.
24+
25+
### String Property
26+
27+
The string representation of a resource is generally the value of the Name, ID or ARN field of the resource. Not all
28+
resources support properties. To write a filter against the string representation, simply omit the `property` field in
29+
the filter.
30+
31+
The string value is always what is used in the output of the log format when a resource is identified.
32+
33+
### DependsOn
34+
35+
!!! important - Experimental Feature
36+
This resource depends on a resource using the experimental feature. This means that the resource will
37+
only be deleted if all the resources of a particular type are deleted first or reach a terminal state.
38+
39+
- [BedrockAgent](./bedrock-agent.md)
40+
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
generated: true
3+
---
4+
5+
# BedrockFlowAlias
6+
7+
8+
## Resource
9+
10+
```text
11+
BedrockFlowAlias
12+
```
13+
14+
## Properties
15+
16+
17+
- `FlowAliasID`: No Description
18+
- `FlowAliasName`: No Description
19+
- `FlowID`: No Description
20+
21+
!!! note - Using Properties
22+
Properties are what [Filters](../config-filtering.md) are written against in your configuration. You use the property
23+
names to write filters for what you want to **keep** and omit from the nuke process.
24+
25+
### String Property
26+
27+
The string representation of a resource is generally the value of the Name, ID or ARN field of the resource. Not all
28+
resources support properties. To write a filter against the string representation, simply omit the `property` field in
29+
the filter.
30+
31+
The string value is always what is used in the output of the log format when a resource is identified.
32+

docs/resources/iam-user.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,21 @@ the filter.
3737

3838
The string value is always what is used in the output of the log format when a resource is identified.
3939

40+
## Settings
41+
42+
- `IgnorePermissionBoundary`
43+
44+
45+
### IgnorePermissionBoundary
46+
47+
!!! note
48+
There is currently no description for this setting. Often times settings are fairly self-explanatory. However, we
49+
are working on adding descriptions for all settings.
50+
51+
```text
52+
IgnorePermissionBoundary
53+
```
54+
4055
### DependsOn
4156

4257
!!! important - Experimental Feature

docs/resources/mgn-application.md

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ generated: true
44

55
# MGNApplication
66

7-
AWS Application Migration Service (MGN) Application represents a logical grouping of source servers in AWS MGN. Applications help organize and manage collections of servers that work together as part of a business application or workload.
87

98
## Resource
109

@@ -14,17 +13,26 @@ MGNApplication
1413

1514
## Properties
1615

17-
- `ApplicationID` - The unique identifier of the application
18-
- `Arn` - The ARN of the application
19-
- `Name` - The name of the application
20-
- `Description` - The description of the application
21-
- `IsArchived` - Whether the application is archived
22-
- `CreationDateTime` - The date and time the application was created
23-
- `LastModifiedDateTime` - The date and time the application was last modified
24-
- `Tags` - The tags associated with the application
2516

26-
## Deletion Process
17+
- `ApplicationID`: The unique identifier of the application
18+
- `Arn`: The ARN of the application
19+
- `CreationDateTime`: The date and time the application was created
20+
- `Description`: The description of the application
21+
- `IsArchived`: Whether the application is archived
22+
- `LastModifiedDateTime`: The date and time the application was last modified
23+
- `Name`: The name of the application
24+
- `tag:<key>:`: This resource has tags with property `Tags`. These are key/value pairs that are
25+
added as their own property with the prefix of `tag:` (e.g. [tag:example: "value"])
2726

28-
MGN Applications are deleted directly using the `DeleteApplication` API call. This removes the application grouping from AWS MGN.
27+
!!! note - Using Properties
28+
Properties are what [Filters](../config-filtering.md) are written against in your configuration. You use the property
29+
names to write filters for what you want to **keep** and omit from the nuke process.
2930

31+
### String Property
32+
33+
The string representation of a resource is generally the value of the Name, ID or ARN field of the resource. Not all
34+
resources support properties. To write a filter against the string representation, simply omit the `property` field in
35+
the filter.
36+
37+
The string value is always what is used in the output of the log format when a resource is identified.
3038

docs/resources/mgn-job.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ generated: true
44

55
# MGNJob
66

7-
AWS Application Migration Service (MGN) Job represents a migration job that has been initiated within AWS MGN. Jobs can be of different types such as LAUNCH, TERMINATE, and others, and track the progress of migration operations.
87

98
## Resource
109

@@ -14,16 +13,26 @@ MGNJob
1413

1514
## Properties
1615

17-
- `JobID` - The unique identifier of the job
18-
- `Arn` - The ARN of the job
19-
- `Type` - The type of job (LAUNCH, TERMINATE, etc.)
20-
- `Status` - The status of the job
21-
- `InitiatedBy` - Who initiated the job
22-
- `CreationDateTime` - The date and time the job was created
23-
- `EndDateTime` - The date and time the job ended
24-
- `Tags` - The tags associated with the job
2516

26-
## Deletion Process
17+
- `Arn`: The ARN of the job
18+
- `CreationDateTime`: The date and time the job was created
19+
- `EndDateTime`: The date and time the job ended
20+
- `InitiatedBy`: Who initiated the job
21+
- `JobID`: The unique identifier of the job
22+
- `Status`: The status of the job
23+
- `Type`: The type of job (LAUNCH, TERMINATE, etc.)
24+
- `tag:<key>:`: This resource has tags with property `Tags`. These are key/value pairs that are
25+
added as their own property with the prefix of `tag:` (e.g. [tag:example: "value"])
2726

28-
MGN Jobs are deleted directly using the `DeleteJob` API call. This removes the job record from AWS MGN.
27+
!!! note - Using Properties
28+
Properties are what [Filters](../config-filtering.md) are written against in your configuration. You use the property
29+
names to write filters for what you want to **keep** and omit from the nuke process.
30+
31+
### String Property
32+
33+
The string representation of a resource is generally the value of the Name, ID or ARN field of the resource. Not all
34+
resources support properties. To write a filter against the string representation, simply omit the `property` field in
35+
the filter.
36+
37+
The string value is always what is used in the output of the log format when a resource is identified.
2938

docs/resources/mgn-launch-configuration-template.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ generated: true
44

55
# MGNLaunchConfigurationTemplate
66

7-
AWS Application Migration Service (MGN) Launch Configuration Template defines the configuration settings for launching target instances during the migration process. This template specifies EC2 instance settings, networking configuration, and other launch parameters.
87

98
## Resource
109

@@ -14,19 +13,27 @@ MGNLaunchConfigurationTemplate
1413

1514
## Properties
1615

17-
- `LaunchConfigurationTemplateID` - The unique identifier of the launch configuration template
18-
- `Arn` - The ARN of the launch configuration template
19-
- `Ec2LaunchTemplateID` - The ID of the associated EC2 launch template
20-
- `LaunchDisposition` - The launch disposition (STOPPED, STARTED)
21-
- `TargetInstanceTypeRightSizingMethod` - The method for right-sizing the target instance type
22-
- `CopyPrivateIp` - Whether to copy the private IP address
23-
- `CopyTags` - Whether to copy tags to the launched instance
24-
- `EnableMapAutoTagging` - Whether to enable automatic tagging
25-
- `Tags` - The tags associated with the template
2616

27-
## Deletion Process
17+
- `Arn`: The ARN of the launch configuration template
18+
- `CopyPrivateIp`: Whether to copy the private IP address
19+
- `CopyTags`: Whether to copy tags to the launched instance
20+
- `Ec2LaunchTemplateID`: The ID of the associated EC2 launch template
21+
- `EnableMapAutoTagging`: Whether to enable automatic tagging
22+
- `LaunchConfigurationTemplateID`: The unique identifier of the launch configuration template
23+
- `LaunchDisposition`: The launch disposition (STOPPED, STARTED)
24+
- `TargetInstanceTypeRightSizingMethod`: The method for right-sizing the target instance type
25+
- `tag:<key>:`: This resource has tags with property `Tags`. These are key/value pairs that are
26+
added as their own property with the prefix of `tag:` (e.g. [tag:example: "value"])
2827

29-
MGN Launch Configuration Templates are deleted directly using the `DeleteLaunchConfigurationTemplate` API call. This removes the template configuration from AWS MGN.
28+
!!! note - Using Properties
29+
Properties are what [Filters](../config-filtering.md) are written against in your configuration. You use the property
30+
names to write filters for what you want to **keep** and omit from the nuke process.
3031

32+
### String Property
3133

34+
The string representation of a resource is generally the value of the Name, ID or ARN field of the resource. Not all
35+
resources support properties. To write a filter against the string representation, simply omit the `property` field in
36+
the filter.
37+
38+
The string value is always what is used in the output of the log format when a resource is identified.
3239

docs/resources/mgn-replication-configuration-template.md

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ generated: true
44

55
# MGNReplicationConfigurationTemplate
66

7-
AWS Application Migration Service (MGN) Replication Configuration Template defines the settings for data replication during the migration process. This template specifies replication server configuration, networking settings, bandwidth throttling, and encryption parameters.
87

98
## Resource
109

@@ -14,23 +13,31 @@ MGNReplicationConfigurationTemplate
1413

1514
## Properties
1615

17-
- `ReplicationConfigurationTemplateID` - The unique identifier of the replication configuration template
18-
- `Arn` - The ARN of the replication configuration template
19-
- `StagingAreaSubnetId` - The subnet ID for the staging area
20-
- `AssociateDefaultSecurityGroup` - Whether to associate the default security group
21-
- `BandwidthThrottling` - The bandwidth throttling setting
22-
- `CreatePublicIP` - Whether to create a public IP
23-
- `DataPlaneRouting` - The data plane routing setting
24-
- `DefaultLargeStagingDiskType` - The default large staging disk type
25-
- `EbsEncryption` - The EBS encryption setting
26-
- `EbsEncryptionKeyArn` - The ARN of the EBS encryption key
27-
- `ReplicationServerInstanceType` - The instance type for the replication server
28-
- `UseDedicatedReplicationServer` - Whether to use a dedicated replication server
29-
- `Tags` - The tags associated with the template
30-
31-
## Deletion Process
32-
33-
MGN Replication Configuration Templates are deleted directly using the `DeleteReplicationConfigurationTemplate` API call. This removes the template configuration from AWS MGN.
34-
3516

17+
- `Arn`: The ARN of the replication configuration template
18+
- `AssociateDefaultSecurityGroup`: Whether to associate the default security group
19+
- `BandwidthThrottling`: The bandwidth throttling setting
20+
- `CreatePublicIP`: Whether to create a public IP
21+
- `DataPlaneRouting`: The data plane routing setting
22+
- `DefaultLargeStagingDiskType`: The default large staging disk type
23+
- `EbsEncryption`: The EBS encryption setting
24+
- `EbsEncryptionKeyArn`: The ARN of the EBS encryption key
25+
- `ReplicationConfigurationTemplateID`: The unique identifier of the replication configuration template
26+
- `ReplicationServerInstanceType`: The instance type for the replication server
27+
- `StagingAreaSubnetId`: The subnet ID for the staging area
28+
- `UseDedicatedReplicationServer`: Whether to use a dedicated replication server
29+
- `tag:<key>:`: This resource has tags with property `Tags`. These are key/value pairs that are
30+
added as their own property with the prefix of `tag:` (e.g. [tag:example: "value"])
31+
32+
!!! note - Using Properties
33+
Properties are what [Filters](../config-filtering.md) are written against in your configuration. You use the property
34+
names to write filters for what you want to **keep** and omit from the nuke process.
35+
36+
### String Property
37+
38+
The string representation of a resource is generally the value of the Name, ID or ARN field of the resource. Not all
39+
resources support properties. To write a filter against the string representation, simply omit the `property` field in
40+
the filter.
41+
42+
The string value is always what is used in the output of the log format when a resource is identified.
3643

docs/resources/mgn-source-server.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ generated: true
44

55
# MGNSourceServer
66

7-
AWS Application Migration Service (MGN) Source Server represents a server that has been configured for migration using AWS MGN. Source servers are the physical or virtual machines in your source environment that you want to migrate to AWS.
87

98
## Resource
109

@@ -14,21 +13,26 @@ MGNSourceServer
1413

1514
## Properties
1615

17-
- `SourceServerID` - The unique identifier of the source server
18-
- `Arn` - The ARN of the source server
19-
- `ReplicationType` - The type of replication (AGENT_BASED, etc.)
20-
- `IsArchived` - Whether the source server is archived
21-
- `LifeCycleState` - The lifecycle state of the source server
22-
- `Hostname` - The hostname of the source server
23-
- `FQDN` - The fully qualified domain name of the source server
24-
- `Tags` - The tags associated with the source server
2516

26-
## Deletion Process
17+
- `Arn`: The ARN of the source server
18+
- `FQDN`: The fully qualified domain name of the source server
19+
- `Hostname`: The hostname of the source server
20+
- `IsArchived`: Whether the source server is archived
21+
- `LifeCycleState`: The lifecycle state of the source server
22+
- `ReplicationType`: The type of replication (AGENT_BASED, etc.)
23+
- `SourceServerID`: The unique identifier of the source server
24+
- `tag:<key>:`: This resource has tags with property `Tags`. These are key/value pairs that are
25+
added as their own property with the prefix of `tag:` (e.g. [tag:example: "value"])
2726

28-
When deleting an MGN Source Server, aws-nuke performs the following steps:
27+
!!! note - Using Properties
28+
Properties are what [Filters](../config-filtering.md) are written against in your configuration. You use the property
29+
names to write filters for what you want to **keep** and omit from the nuke process.
2930

30-
1. First disconnects the source server from the MGN service using `DisconnectFromService`
31-
2. Then deletes the source server using `DeleteSourceServer`
31+
### String Property
3232

33-
This ensures that replication is properly stopped before the resource is removed.
33+
The string representation of a resource is generally the value of the Name, ID or ARN field of the resource. Not all
34+
resources support properties. To write a filter against the string representation, simply omit the `property` field in
35+
the filter.
36+
37+
The string value is always what is used in the output of the log format when a resource is identified.
3438

docs/resources/mgn-wave.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ generated: true
44

55
# MGNWave
66

7-
AWS Application Migration Service (MGN) Wave represents a collection of applications that are migrated together as a batch. Waves help organize migration activities by grouping applications that should be migrated in sequence or at the same time.
87

98
## Resource
109

@@ -14,18 +13,26 @@ MGNWave
1413

1514
## Properties
1615

17-
- `WaveID` - The unique identifier of the wave
18-
- `Arn` - The ARN of the wave
19-
- `Name` - The name of the wave
20-
- `Description` - The description of the wave
21-
- `IsArchived` - Whether the wave is archived
22-
- `CreationDateTime` - The date and time the wave was created
23-
- `LastModifiedDateTime` - The date and time the wave was last modified
24-
- `Tags` - The tags associated with the wave
2516

26-
## Deletion Process
17+
- `Arn`: The ARN of the wave
18+
- `CreationDateTime`: The date and time the wave was created
19+
- `Description`: The description of the wave
20+
- `IsArchived`: Whether the wave is archived
21+
- `LastModifiedDateTime`: The date and time the wave was last modified
22+
- `Name`: The name of the wave
23+
- `WaveID`: The unique identifier of the wave
24+
- `tag:<key>:`: This resource has tags with property `Tags`. These are key/value pairs that are
25+
added as their own property with the prefix of `tag:` (e.g. [tag:example: "value"])
2726

28-
MGN Waves are deleted directly using the `DeleteWave` API call. This removes the wave grouping from AWS MGN.
27+
!!! note - Using Properties
28+
Properties are what [Filters](../config-filtering.md) are written against in your configuration. You use the property
29+
names to write filters for what you want to **keep** and omit from the nuke process.
2930

31+
### String Property
3032

33+
The string representation of a resource is generally the value of the Name, ID or ARN field of the resource. Not all
34+
resources support properties. To write a filter against the string representation, simply omit the `property` field in
35+
the filter.
36+
37+
The string value is always what is used in the output of the log format when a resource is identified.
3138

0 commit comments

Comments
 (0)