Custom Property Args
data class CustomPropertyArgs(val propertyKey: Output<String>? = null, val propertyValues: Output<List<CustomPropertyPropertyValueArgs>>? = null) : ConvertibleToJava<CustomPropertyArgs>
Provides a ECD Custom Property resource. For information about ECD Custom Property and how to use it, see What is Custom Property.
NOTE: Available since v1.176.0. NOTE: Up to 10 different attributes can be created under an alibaba cloud account. Up to 50 different attribute values can be added under an attribute.
Example Usage
Basic Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.eds.CustomProperty;
import com.pulumi.alicloud.eds.CustomPropertyArgs;
import com.pulumi.alicloud.eds.inputs.CustomPropertyPropertyValueArgs;
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 example = new CustomProperty("example", CustomPropertyArgs.builder()
.propertyKey("example_key")
.propertyValues(CustomPropertyPropertyValueArgs.builder()
.propertyValue("example_value")
.build())
.build());
}
}
Content copied to clipboard
Import
ECD Custom Property can be imported using the id, e.g.
$ pulumi import alicloud:eds/customProperty:CustomProperty example <id>
Content copied to clipboard
Constructors
Link copied to clipboard
fun CustomPropertyArgs(propertyKey: Output<String>? = null, propertyValues: Output<List<CustomPropertyPropertyValueArgs>>? = null)