Skip to main content

CreateLogGroupBody

Type Alias CreateLogGroupBody 

Source
pub type CreateLogGroupBody = CreateLogGroupRequestInput;

Aliased Type§

pub struct CreateLogGroupBody {
    pub name: String,
    pub description: Option<String>,
    pub retention_days: Option<Nullable<i64>>,
    pub kms_key: Option<String>,
    pub tags: Option<BTreeMap<String, String>>,
}

Fields§

§name: String

Resource names must not start with the literal crn: prefix or be UUIDs (canonical, compact, braced, or urn:uuid: forms, in either case).

§description: Option<String>§retention_days: Option<Nullable<i64>>

Retention in days. Omit or use null for no expiry.

§kms_key: Option<String>

KMS key UUID, CRN or exact name in the authenticated account and serving region. The resolved UUID is pinned; deleting a key and reusing its name never retargets existing data. An empty string selects plaintext.

§tags: Option<BTreeMap<String, String>>