IpGroup |
Provides an IP access control group in AWS WorkSpaces Service
## Example Usage
```java
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.workspaces.IpGroup;
import com.pulumi.aws.workspaces.IpGroupArgs;
import com.pulumi.aws.workspaces.inputs.IpGroupRuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var contractors = new IpGroup("contractors", IpGroupArgs.builder()
.description("Contractors IP access control group")
.rules(
IpGroupRuleArgs.builder()
.description("NY")
.source("150.24.14.0/24")
.build(),
IpGroupRuleArgs.builder()
.description("LA")
.source("125.191.14.85/32")
.build(),
IpGroupRuleArgs.builder()
.description("STL")
.source("44.98.100.0/24")
.build())
.build());
}
}
```
## Import
Using `pulumi import`, import WorkSpaces IP groups using their GroupID.
|